Hi,
I have a component Dialog with two tabs. On click of configure button dialog is opening normally. Now a new requirement came to add a separate button to the action toolbar and on click of that new button, second tab needs to show in the dialog (first tab will be hidden).
What I did?
I have followed this article to create new action button and invoked the component dialog.
https://experience-aem.blogspot.com/2017/08/aem-63-touch-ui-register-component-action-open-dialog-pr...
But I'm unable to pass any parameter to the target Dialog which can be read inside contentloaded method and hide first tab but show second tab only.
$(document).on("foundation-contentloaded", function (e) {}
Can anyone provide inputs to pass extra params to the dialog which opening from JS?
I also tried below script to open dialog and passed extra parameters but not sure how to read it!
Granite.author.EditorFrame.editableToolbar.config.actions.CONFIGURE.execute(cmp, "REORDERME");
Thank you.