Alternative of deprecated SlingSettingsService
Hi,
Does anyone know/has implemented something that helps you to fetch the runmode in backend code. SlingSettingsService has been deprecated.
WCMMode doesn't work in this case as we need to check it on a editable template(structure), where wcmmode is disabled.
Thanks!