Solved! Go to Solution.
Views
Replies
Total Likes
You can try to modify this by using ternary operator like,
<sly>${properties.snippetheadstartcurall ? properties.snippetheadstartcurall : inheritedPageProperties.snippetheadstartcurall @ context='unsafe'}</sly>
Hope it'd help!
You can try to modify this by using ternary operator like,
<sly>${properties.snippetheadstartcurall ? properties.snippetheadstartcurall : inheritedPageProperties.snippetheadstartcurall @ context='unsafe'}</sly>
Hope it'd help!
thanks
<sly data-sly-test.snippet=" ${properties.snippetheadstartcurall}" /> <sly data-sly-test="${snippet}"> ${snippet @ context='unsafe'}</sly> <sly data-sly-test="${!snippet}">${inheritedPageProperties.snippetheadstartcurall @ context='unsafe'}</sly>
You can define a variable and reuse with data-sly-tes as well.
You can use the solution suggested by @mayank0928