Solved
AEM 6.1 | Disable tab in AEM dialog
Hi All,
How Can i disable a tab in author dialog based on the current page template? I know i need to use a listener, can someone please tell me how to use it?
Hi All,
How Can i disable a tab in author dialog based on the current page template? I know i need to use a listener, can someone please tell me how to use it?
Hi All,
Below function worked for me, thanks for your replies
function(dialog){
var pagePath = CQ.utils.WCM.getPagePath()+"/jcr:content.json";
var result = CQ.shared.HTTP.eval(pagePath);
var currentTemplate = result['cq:template'];
}
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.