[AEM6.5] Tags Search Facets (Sites) : Customized search6 | Community
Skip to main content
tushaar_srivastava
Level 6
January 5, 2021
Solved

[AEM6.5] Tags Search Facets (Sites) : Customized search6

  • January 5, 2021
  • 1 reply
  • 817 views

Hi Team,
I have introduced a tag in sites search facets by overlaying Node "/libs/settings/cq/search/facets/sites/jcr:content/items/tags"


Now if we go to  /sites.html/content/ and select filter we can observe the above overlay node.

 

Now if I will Open this tag and see all the Tags which are under /content/cq:tags are showing up::



But suppose I want to show only 3 or 4 of them how to do that, If I choose  rootPath="/content/cq:tags/dtopic then only the child of that tagfield will show up and, and let say I want to expose 3 tags (default, dtpoic, emtcompanysize) from the below in site search facets tags :

 

How to achieve this

Thanks 
@kautuk_sahni  @arunpatidar  @briankasingli  @vijayalakshmi_s  @vanegi 

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

Hi @tushaar_srivastava,

OOB it is not possible to provide multiple tag paths/selected set of tag paths to be part of picker.

Per the logic defined in /libs/cq/gui/components/coral/common/admin/customsearch/searchpredicates/tagspredicate, tagField resource is included with properties we define in /libs/settings/cq/search/facets/sites/jcr:content/items/tags (where pickerSrc is framed using rootPath(if it is provided))

Highlighted below is exact logic related to this for reference -> Helps in framing/sling:include of tagField resource(cq/gui/components/coral/common/form/tagfield) with tagFieldProperties object

 

1 reply

Vijayalakshmi_S
Vijayalakshmi_SAccepted solution
Level 10
January 5, 2021

Hi @tushaar_srivastava,

OOB it is not possible to provide multiple tag paths/selected set of tag paths to be part of picker.

Per the logic defined in /libs/cq/gui/components/coral/common/admin/customsearch/searchpredicates/tagspredicate, tagField resource is included with properties we define in /libs/settings/cq/search/facets/sites/jcr:content/items/tags (where pickerSrc is framed using rootPath(if it is provided))

Highlighted below is exact logic related to this for reference -> Helps in framing/sling:include of tagField resource(cq/gui/components/coral/common/form/tagfield) with tagFieldProperties object