Expand my Community achievements bar.

Submissions are now open for the 2026 Adobe Experience Maker Awards.
SOLVED

Display selected tags in HTL

Avatar

Level 3

I am using cq/gui/components/tagspicker in my component dialog and want to display the selected tags in HTL. I have tried directly by using name property but this only displays the first selected tag. How to display all selected tags from component dialog in frontend?

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi @Zendarkke 

 

Can you share you HTL code ? I believe the property is an array so you might need to iterate it.

Also, I suggest using Sling models to read props and make the values available in HTL.

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

Hi @Zendarkke 

 

Can you share you HTL code ? I believe the property is an array so you might need to iterate it.

Also, I suggest using Sling models to read props and make the values available in HTL.

Avatar

Level 3

Thanks , went forward with using the sling model approach