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

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

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

Avatar

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?

Screen+Shot+2018-07-04+at+8.53.33+PM.png

0 Replies

Avatar

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.

Thanks,

Manas

Avatar

Level 2

Can you help me with something?  Seeking the property predicate for the Files and Folders in the Filter Rail.  We lost this capability in our DAM...Need to know if I can build this out in the Filter Rail by adding a particular predicate, not that familiary with which one would be for filtering by "Files and Folders".  Thank you for your assistance in advance.

The ultimate experience is back.

Join us in Vegas to build skills, learn from the world's top brands, and be inspired.

Register Now