Expand my Community achievements bar.

SOLVED

How to use the namespaces in the TagInputField (xtype = tags)

Avatar

Level 3

<tags jcr:primaryType="cq:Widget" fieldLabel="Filter by Tag"
      name="./tags" xtype="tags" tagsBasePath="/etc/tags/myprojecttag" >
      <namespaces>
           <news
                 name="news"
                 maximum="1"/>
     </namespaces>
</tags>

 

I am trying to display only the 'news' tags under 'myprojecttags'.

 

What I am missing?

I've read the documentation, but can't make it work.

1 Accepted Solution

Avatar

Correct answer by
Level 10

Hi, 

Add the properties as shown in image, use multi for namespace 

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Hi, 

Add the properties as shown in image, use multi for namespace