Legacy Knowledge Base
Published Jun. 30, 2025

Replacement for Deprecated Portal Property: asset.categories.search.hierarchical=false

Written By

Kenny Back

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

Issue

  • We recently upgraded from Liferay 7.0 to 7.4 and observed that the portal property we were using seems to no longer exist:
    asset.categories.search.hierarchical=false
  • Is there a replacement in 7.4 to achieve the same function it served in which only assets matching the category are shown in asset publisher results and it does not show assets with associated parent category? As we do not want assets with parent category being shown in results when a child category is selected in the category filter.

Environment

  • DXP 7.4

Resolution

  • Yes, you can go to Control Panel > System Settings > under Content Data, Assets > Categorization there is a property called 'Include child categories when searching parent categories'. If you uncheck that box and click Save, this will achieve the same result.
  • Further, this same property also exists under Instance Settings, in case you only wanted to set it for a particular virtual instance rather than the entire Liferay instance.

 

 

Did this article resolve your issue ?

Legacy Knowledge Base