Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

AEM 6.4 - Assets Admin Search Rail customization - Issue with Property Predicate


Level 2

We are customizing Assets Admin Search Rail Search form to add more filters in AEM DAM search filters panel,

Property Predicate is working pretty well but issue is that after search AEM is not adding search filter with search key in the upper rail.

AEM is adding search filter in upper rail only for filters created using options predicate.

Please see the screen shot.

Can someone help in this?


1 Reply


Level 1

Hi Sujeet,

It seems to be missing, not sure if it is by design. However you can overlay the js file for the property predicate and add the functionality to the prediacte - /libs/dam/gui/coral/components/admin/customsearch/searchpredicates/propertypredicate/clientlibs/propertypredicate.js

Basically you would need to add a method to add/update the tag upon pressing of Enter and then submit the form. Again you would need to remove the tag when the property is cleared. You can reference /libs/dam/gui/coral/components/admin/customsearch/searchpredicates/pathbrowserpredicate/clientlibs/pathbrowserpredicate/js/pathbrowserpredicate.js to see how it is done, the handling for both the predicates would be very similar. The code is pretty self explanatory.