Expand my Community achievements bar.

SOLVED

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

Avatar

Level 6

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

tushaar_srivastava_0-1609848720084.png


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

image.png

 

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

image.png

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 :
image.png

 

How to achieve this

Thanks 
@kautuk_sahni  @arunpatidar  @BrianKasingli  @Vijayalakshmi_S  @vanegi 

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

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

Vijayalakshmi_S_0-1609864508183.png

 

View solution in original post

1 Reply

Avatar

Correct answer by
Community Advisor

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

Vijayalakshmi_S_0-1609864508183.png