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

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

tushaar_srivastava
Level 4
Level 4

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  @Arun_Patidar  @BrianKasingli  @Vijayalakshmi_S  @vanegi 

Topics

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

1 Accepted Solution
Vijayalakshmi_S
Correct answer by
Community Advisor
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
Vijayalakshmi_S
Correct answer by
Community Advisor
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