Customize Search facets based on the path | Community
Skip to main content
Level 2
October 16, 2020
Solved

Customize Search facets based on the path

  • October 16, 2020
  • 2 replies
  • 1122 views

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

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

2 replies

santhosh_kumark
santhosh_kumarkAccepted solution
Level 6
October 16, 2020
vanegi
Adobe Employee
Adobe Employee
October 17, 2020

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!!