how to populate tagfield based on dropdown selection in touch UI? | Adobe Higher Education
Skip to main content
amangoyal15
Level 3
December 20, 2016
Beantwortet

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

  • December 20, 2016
  • 4 Antworten
  • 2591 Ansichten

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. 

Dieses Thema wurde für Antworten geschlossen.
Beste Antwort von 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 Antworten

amangoyal15
Level 3
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.

smacdonald2008
Level 10
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. 

kautuk_sahni
Community Manager
Community Manager
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
ashisht85509954
Level 2
June 8, 2018

Hi Aman,

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