Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

xtype tags not working inside multifield

Level 4
Level 4
<tagfield jcr:primaryType="cq:Widget" fieldLabel="Enter Tag" name="./tags" xtype="multifield">
    <fieldConfig jcr:primaryType="cq:Widget" xtype="tags"/>


This is a snippet from my dialog structure. I see the tag is getting saved in JCR but when opening the dialog back, it is not showing up. I can see lot of errors in browser conosle.

Let's say if my tag is ab:xyz, I see below errors in my browser console.

http://localhost:4502/etc/tags/default/a.tag.json - 404

http://localhost:4502/etc/tags/default/b.tag.json - 404

http://localhost:4502/etc/tags/default/:.tag.json - 404

http://localhost:4502/etc/tags/default/x.tag.json - 404

http://localhost:4502/etc/tags/default/y.tag.json - 404

http://localhost:4502/etc/tags/default/z.tag.json - 404

0 Replies
Level 3
Level 3

Hi prohira,

Were you able to resolve this issue? If yes, could you please share the details on fix.


Level 10
Level 10

This original thread is very old. However - i am still looknig into it. However looking at the documentation - i do not see a data type of tags. 

What is exactly the class you want to use in a Classic UI Dialog? 

Level 3
Level 3

Hi smacdonald2008,

I have approached in two ways

1. Used xtype='tags' similar to the widget available in OOTB page component's Basic tab(/libs/wcm/foundation/components/page/tab_basic/items/basic/items/tags). In this case, configured tag data is not stored in crx, hence on subsequent edits not being displayed against tag field.

2. Used CQ.tagging.TagInputField in custom Extjs widget. This approach worked fine in AEM 6.0 SP3 but not in AEM 6.2. Attached custom widget for reference. In this approach, not only tag field but other textfields data is not displayed when edited for 2nd time.