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

SOLVED

Customize Search facets based on the path

mind119497
Level 2
Level 2

Hello,

 

We have two different nodes for tags under /etc/tags. 

We want to customize the search facets based upon the path.

for instance: if the user is in path: /content/dam/test1 then the search facets should fetch the results of tags from the node1 (/etc/tags/node1) 

if the user is in path: /content/dam/test2 then the search facets should fetch the results of tags from the node2 (/etc/tags/node2)

 

Is this possible to do if yes, please guide me for the same 

 

Thanks

1 Accepted Solution
santhosh_kumark
Correct answer by
Community Advisor
Community Advisor
0 Replies
santhosh_kumark
Correct answer by
Community Advisor
Community Advisor
vanegi
Employee
Employee

Hello @mind119497,

You can add custom search facets and search for assets in multiple ways based on paths. 
 
The Tag predicate allows you to perform tag-based searches for assets. 
  1. Click the AEM logo, and then go to Tools > General > Search Forms .
  2. From the Search Forms page, select Assets Admin Search Rail and then tap Edit 
     
     .

You can add other predicates like Path as defined in https://docs.adobe.com/content/help/en/experience-manager-64/assets/administer/search-facets.html for this case.

 

Thanks!!