Expand my Community achievements bar.

Don’t miss the AEM Skill Exchange in SF on Nov 14—hear from industry leaders, learn best practices, and enhance your AEM strategy with practical tips.
SOLVED

Touch UI Fill Dialog Fields with Default Values on Image Drop Using Sightly

Avatar

Level 2

Hi All,

I am working on AEM 6.3. We have one requirement in which we want to fill the dialog fields with default values on Image Drop using sightly.

If anyone has worked on the same, please let me know.

I got a reference which I am sharing below but how to implement this in sightly.

Experiencing Adobe Experience Manager - Day CQ: AEM 61 - Touch UI Fill Dialog Fields with Default Va...

Thanks

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

The article that you mentioned should work for you.. It populates value in touch UI dialog using JS. It shouldn't matter whether you are using Sightly or JSP. Sightly would be used to do the display part of authored values which is separate from the dialog..

View solution in original post

3 Replies

Avatar

Correct answer by
Community Advisor

The article that you mentioned should work for you.. It populates value in touch UI dialog using JS. It shouldn't matter whether you are using Sightly or JSP. Sightly would be used to do the display part of authored values which is separate from the dialog..

Avatar

Level 10

HTL (the proper name - its no longer Sightly) has nothing to do with the JCR nodes used to create a Touch UI dialog. HTL is the logic used to render the components view.

Also - if you are looking at using Images in AEM 6.3 - you should look at using the Image Core Component.

GitHub - Adobe-Marketing-Cloud/aem-core-wcm-components: AEM Core WCM Components

Avatar

Community Advisor

You have to do the exact same mentioned in the article. Since your aim is to populate the dialog, it should have nothing to do with HTL. Dialog population can be always handled using Jquery in Touch UI