Setting deep namespace filter on tags widget | Community
Skip to main content
DarrenBiz
Level 6
October 16, 2015
Solved

Setting deep namespace filter on tags widget

  • October 16, 2015
  • 2 replies
  • 1388 views

I am trying to set a second level namespace filter in a tags widget, but it doesn't seem to allow that. Is it possible to filter by namespace any further than first level?

This is what I am trying to do:

<reportertag jcr:primaryType="cq:Widget" fieldLabel="Reporter Tag" name="./cq:tags" xtype="tags"> <namespaces jcr:primaryType="cq:WidgetCollection" maximum="{Long}1" name="person:reporter"> <reporter jcr:primaryType="nt:unstructured" maximum="{Long}1" name="person:reporter"/> </namespaces> </reportertag>
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 Sham_HC

Namespace is always the first level Refer [1]. Does not make sense Or any value with filtering 2nd level deep for namespace since not implemented in product.  In future if product support more than one level, hoping  tagsBasePath will help.     In case you are looking to filter tags implement load function and filter out all the tags.

[1]   http://docs.adobe.com/docs/en/cq/current/developing/tagging.html#Tags

2 replies

DarrenBiz
DarrenBizAuthor
Level 6
October 16, 2015

Thanks Sham - I expected that was the case.

Sham_HC
Sham_HCAccepted solution
Level 10
October 16, 2015

Namespace is always the first level Refer [1]. Does not make sense Or any value with filtering 2nd level deep for namespace since not implemented in product.  In future if product support more than one level, hoping  tagsBasePath will help.     In case you are looking to filter tags implement load function and filter out all the tags.

[1]   http://docs.adobe.com/docs/en/cq/current/developing/tagging.html#Tags