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

Avatar

Avatar

tushaar_srivastava

Avatar

tushaar_srivastava

tushaar_srivastava

05-01-2021

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 

aem6.5 dialog search Search Engine tagpicker tags Touch UI Touchui dialog

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

Vijayalakshmi_S

MVP

Avatar

Vijayalakshmi_S

MVP

Vijayalakshmi_S
MVP

05-01-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

Vijayalakshmi_S_0-1609864508183.png

 

Answers (0)