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

Avatar

Avatar

amangoyal15

Avatar

amangoyal15

amangoyal15

20-12-2016

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. 

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K

Avatar

kautuk_sahni

Community Manager

Total Posts

6.0K

Likes

1.1K

Correct Reply

1.1K
kautuk_sahni
Community Manager

22-12-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...

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

Answers (3)

Answers (3)

Avatar

Avatar

ashisht85509954

Avatar

ashisht85509954

ashisht85509954

08-06-2018

Hi Aman,

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

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Reply

2.3K
smacdonald2008

21-12-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. 

Avatar

Avatar

amangoyal15

Avatar

amangoyal15

amangoyal15

21-12-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.