Solved
How to get current run mode of an AEM instance (author or publisher)
Hi,
How we can know current run mode of AEM instace i.e. Author or Publisher
Similar to getting WCMMode using WCMMode.fromRequest(request)
Thanks
LM
Hi,
How we can know current run mode of AEM instace i.e. Author or Publisher
Similar to getting WCMMode using WCMMode.fromRequest(request)
Thanks
LM
Please use below code:- <% pageContext.setAttribute("runModes", sling.getService(SlingSettingsService.class).getRunModes().toString()); %>Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.