Expand my Community achievements bar.

July 31st AEM Gems Webinar: Elevate your AEM development to master the integration of private GitHub repositories within AEM Cloud Manager.
SOLVED

Unable to add custom device groups (emulators) in Touch UI emulator mode - AEM 6.1

Avatar

Level 2

Hi,

We were trying to create a custom device group on the lines of what is used in the geometrixx-gov site. The OOTB device group provided is /etc/mobile/groups/responsive

Now the issue is that any custom device group with a name other that responsive like /etc/mobile/groups/custom is not detected by the page when in the Touch UI emulator mode. I do not know if this is a guideline as to only use the name "responsive" but it sure seems like a limitation.

Let me know if this is an issue or I am doing something wrong here.

PFA snap shot for reference.

Thanks 

1 Accepted Solution

Avatar

Correct answer by
Level 3

Hey!

 

In order to be able to use a custom device group on your page, you need to add it to the cq:deviceGroups property on the root of your website.

 

So say you have a website "my-site" under /content/my-site and a custom device group "my-site-devices" under /etc/mobile/groups/my-site-devices, then you can simple add the cq:deviceGroups property on /content/my-site/jcr:content/cq:deviceGroups. AEM will then pick up your custom group automatically.

 

Hope t

View solution in original post

1 Reply

Avatar

Correct answer by
Level 3

Hey!

 

In order to be able to use a custom device group on your page, you need to add it to the cq:deviceGroups property on the root of your website.

 

So say you have a website "my-site" under /content/my-site and a custom device group "my-site-devices" under /etc/mobile/groups/my-site-devices, then you can simple add the cq:deviceGroups property on /content/my-site/jcr:content/cq:deviceGroups. AEM will then pick up your custom group automatically.

 

Hope t