Declare sightly variables in aem dialog
Hi,
I am trying to author text in dialog, text contains dynamic values like name etc. I tried declaring sightly variable names in aem dialog to fetch the data dynamically but it didn't work.
I have authored a textarea widget (./desc) in aem dialog as "Hi ${model.name}, welcome to adobe forum." Where model is the sightly class object, and name is the variable declared in sightly wcmusepojo class.
In front I tried to get the text by adding ${properties.desc @context='html'}.
Can u help me how we can author the text dynamically.