AEM 6 and Classic UI Mode

Well fellow AEM 6 developers, I have another tiny AEM gem for you. Are you currently working on an AEM 6 project but are only targeting the Classic UI? If so, here are two quick OSGi configuration changes that will keep you within the Classic UI interface.

To configure Classic UI as the default mode for AEM 6, configure the WCM Authoring UI Mode Service in the Felix console. Simply change the default authoring UI mode from TOUCH to CLASSIC

I am not a fan of runtime changes in the Felix console, so I recommend creating a run mode for your application. Your run mode should be define in /apps/<your application>/config/ and should look as follows:

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling=""
    xmlns:jcr=""    jcr:primaryType="sling:OsgiConfig"

I also recommend changing the default root mapping so that content authors are directed to the Welcome screen following login. As before, create a run mode for your application at /apps/<your application>/config/

<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:sling=""
    xmlns:jcr="" jcr:primaryType="sling:OsgiConfig""/welcome.html" />

I hope this helps!