0
votes

I need to set a default dialog value in AEM component. For example - I have dialog with node - namelabel and I am fetching this in my html as

${properties.namelabel}

Now I want to set the default value to this node property, ie when I am editing a dialog there is always a value set as

namelabel : Name 

where in author can change this anytime he wants.

Thanks in advance.

1
classic or touch ?ub1k
more extensively if touch - how do you create your dialog - via dialog or _cq_dialog ?ub1k
@ub1k I am trying this in touch ui -cq-dialog. I am not facing any error here, I am just looking for an approach for how to do it.Rtrvd

1 Answers

1
votes

in short - you could use property value which is presented as the default value in touch dialog.

your question is though a sort of duplicate of what's been said here: defaultValue in Touch UI dialogs - AEM/CQ