Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
how can i read design dialog data for a component using sling model ? i'm using static template in my project .
Solved! Go to Solution.
Get the reference to the currentStyle
@ScriptVariable
private Style currentStyle;
Get the properties from currentStyle
String prop1= currentStyle.get("prop1", String.class);
View solution in original post
You can use the "com.day.cq.wcm.api.designer.Design" API. More details at [1]
[1] Design ("The Adobe AEM Quickstart and Web Application.")
Views
Likes
Replies