how to populate tagfield based on dropdown selection in touch UI? | Community
Skip to main content
amangoyal15
Level 3
Dec 20, 2016 11:35 AM UTC
Solved

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

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. 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
kautuk_sahni
kautuk_sahniAccepted solution
Employee
Dec 22, 2016 9:02 AM UTC

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-field.html

// 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

4 replies

ashisht85509954
Level 2
Jun 8, 2018 1:40 PM UTC

Hi Aman,

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

Translate
kautuk_sahni
kautuk_sahniAccepted solution
Employee
Dec 22, 2016 9:02 AM UTC

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-field.html

// 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

Translate
Kautuk Sahni
smacdonald2008
Level 10
Dec 21, 2016 4:12 PM UTC

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. 

Translate
amangoyal15
Level 3
Dec 21, 2016 11:13 AM UTC

http://adobeaemclub.com/populate-tags-based-on-selection-in-pathfield-classic-ui/ 

I want to do the same but in touch UI.

Please assist.

Translate