how to populate tagfield based on dropdown selection in touch UI? | Community
Skip to main content
amangoyal15
New Participant
December 20, 2016
Solved

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

  • December 20, 2016
  • 4 replies
  • 2591 views

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.
Best answer by kautuk_sahni

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

4 replies

ashisht85509954
New Participant
June 8, 2018

Hi Aman,

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

kautuk_sahni
kautuk_sahniAccepted solution
Employee
December 22, 2016

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
smacdonald2008
New Participant
December 21, 2016

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. 

amangoyal15
New Participant
December 21, 2016

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

I want to do the same but in touch UI.

Please assist.