May 27, 2020
Estimated Post Reading Time ~ < 1 Min

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);
aem4beginner.blogspot


By aem4beginner

No comments:

Post a Comment

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

Ad Blocker Detected :(

Please consider supporting us by disabling your ad blocker.

Please Disable your adblocker and Refresh the page to view the site content.