May 27, 2020
Estimated Post Reading Time ~

How to open component dialog through Javascript in AEM Touch UI

1) You need to get the 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.