Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

how to populate tagfield based on dropdown selection in touch UI?

Avatar

Level 3

I have one dropdown and one tagpicker field. 

In dropdown all option's value are TagIds (like stockphotography:business/business_people).

I need to set selcted options value in Tagpicker field.

For classic UI i have done the same thing. But dont know how to achieve it in Touch UI.

Please Assist. 

1 Accepted Solution

Avatar

Correct answer by
Administrator

Hi 

Check this community article for bit of the reference, you can customize as per you need:- http://experience-aem.blogspot.in/2016/06/aem-62-touch-ui-validator-for-restricting-tag-count-dialog...

// Touch UI Validator for restricting Tags Count in a Dialog Field

Package :- https://drive.google.com/open?id=0B4d6KmbLkAumdmRITjY3MWczSjg

Demo:- https://drive.google.com/file/d/0B4d6KmbLkAumVHhuN2F5MnViT3c/view

 

Otherwise as stated by Scott, you can create a custom component where you can use TagManager APIs and can do the needful.

~kautuk



Kautuk Sahni

View solution in original post

4 Replies

Avatar

Level 10

We have TagManager API articles that may be helpful: 

http://scottsdigitalcommunity.blogspot.ca/2016/06/developing-sightly-component-that.html

This article should point you in the correct direction. 

Avatar

Correct answer by
Administrator

Hi 

Check this community article for bit of the reference, you can customize as per you need:- http://experience-aem.blogspot.in/2016/06/aem-62-touch-ui-validator-for-restricting-tag-count-dialog...

// Touch UI Validator for restricting Tags Count in a Dialog Field

Package :- https://drive.google.com/open?id=0B4d6KmbLkAumdmRITjY3MWczSjg

Demo:- https://drive.google.com/file/d/0B4d6KmbLkAumVHhuN2F5MnViT3c/view

 

Otherwise as stated by Scott, you can create a custom component where you can use TagManager APIs and can do the needful.

~kautuk



Kautuk Sahni

Avatar

Level 2

Hi Aman,

If you were able to solve the problem, can you please share the sample code snippet for the same?