March 13, 2020
Estimated Post Reading Time ~

How to open component dialog through Javascript in Touch UI AEM

1) You need to get editable of the component which you want to open dialog

var cmpEditables = Granite.author.store.find("<component content node path");
var cmp = cmpEditables[0];


2)Pass the editable to the execute method
Granite.author.EditorFrame.editableToolbar.config.actions.CONFIGURE.execute(cmp);


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.