Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

AEM touch ui for tagfield to populate a certain path under cq:tags for aem6.5

Avatar

Level 8

Hi ,

 

I am using the below code and wanted to show tags from from path .I am using coral ui for the dialog other parameters

 

/content/cq:tags/verticals/subveticals

 

How to do that or do we need to any other sling:resourceType which will resolve the issue

 

<vertical

                                    cq:showOnCreate="{Boolean}true"
                                    jcr:primaryType="nt:unstructured"
                                    sling:resourceType="/libs/cq/gui/components/coral/common/form/tagfield"
                                    allowCreate="{Boolean}true"
                                    fieldLabel="Vertical"
                                    metaType="tags"

                                    name="./verticalTags"/>

 

Thanks

1 Accepted Solution

Avatar

Correct answer by
Level 6

@srinivas_chann1 Hi did not understand you question properly. If you have issue related to tags fields please check below for the reference and it is working.

 

kchaurasiya_2-1632283966401.png

 

Field view in Dialog

kchaurasiya_1-1632283840579.png

 

Thank You.

 

Keshav Chaurasiya

View solution in original post

5 Replies

Avatar

Correct answer by
Level 6

@srinivas_chann1 Hi did not understand you question properly. If you have issue related to tags fields please check below for the reference and it is working.

 

kchaurasiya_2-1632283966401.png

 

Field view in Dialog

kchaurasiya_1-1632283840579.png

 

Thank You.

 

Keshav Chaurasiya

Avatar

Level 8

Thanks Keshav Chaurasiya for the input.

 

The issue here I have given the root path  /content/cq:tags/myproject/verticals/subveticals

but when the tags UI comes up it  shows all the tags from content/cq:tags/myproject  instead of showing from just /content/cq:tags/myproject/verticals/subveticals

 

Found that there was some issue in my set up now resolve 

 

Thanks

 

Avatar

Level 4

Hi, I tried this one in content fragment, but if I select multiple tags, it only saves one (first tag selected).
What should we do on that case?

Thanks,
Martin