Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list
SOLVED

Design properties in sightly

Avatar

Level 6

How to access design_dialog properties in sightly ?

1 Accepted Solution

Avatar

Correct answer by
Employee

via the ${currentDesign} object.

0 Replies

Avatar

Correct answer by
Employee

via the ${currentDesign} object.

Avatar

Level 6

Do you how to get inside javascript

Avatar

Level 6

currentDesign didnt work; currentStyle worked. Thanks

Avatar

Level 6

I am able to access design properties by using ${currentStyle.propertyName} in sightly html. I want to access it in sightly javascript. I tried currentStyle.propertyName , but it returned empty value. It works well in sightly html

Avatar

Employee

use currentStyle.get(propertyName,'default-name');

Avatar

Level 4

${currentStyle.propertyName}

where name of the property should replace the propertyName