Hi,
I want to restrict the tags displayed in the tags predicate field.
Initially I have overlayed the tag field from
/libs/settings/cq/search/facets/sites/jcr:content/items/tags to /apps/settings/cq/search/facets/sites/jcr:content/items/tags and added namespaces property for whitelisting. But still it loads all the tags from /content/cq:tags.
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Hi @Abirami_SD,
Tagfield makes use of foundation-autocomplete where picker is configured as part of attribute named pickersrc.
Value of pickersrc being - /mnt/overlay/cq/gui/content/coral/common/form/tagfield/picker.html?root=%2fcontent%2fcq%3atags&selectionCount=multiple where root and selectionCount is dynamic and can be set using properties on resource where tagfield is used
For tagfield within search facets, per the logic written in /libs/cq/gui/components/coral/common/admin/customsearch/searchpredicates/tagspredicate/tagspredicate.jsp(resource used in below tags node via sling:resourceType), we can either use rootPath or tagsPath to set the tags root on the resource - /libs/settings/cq/search/facets/sites/jcr:content/items/tags
You can overlay and amend accordingly
Screenshot for reference:
Hi @Abirami_SD,
Tagfield makes use of foundation-autocomplete where picker is configured as part of attribute named pickersrc.
Value of pickersrc being - /mnt/overlay/cq/gui/content/coral/common/form/tagfield/picker.html?root=%2fcontent%2fcq%3atags&selectionCount=multiple where root and selectionCount is dynamic and can be set using properties on resource where tagfield is used
For tagfield within search facets, per the logic written in /libs/cq/gui/components/coral/common/admin/customsearch/searchpredicates/tagspredicate/tagspredicate.jsp(resource used in below tags node via sling:resourceType), we can either use rootPath or tagsPath to set the tags root on the resource - /libs/settings/cq/search/facets/sites/jcr:content/items/tags
You can overlay and amend accordingly
Screenshot for reference:
Views
Likes
Replies
Views
Likes
Replies