Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Responsive Emulator Devices List is Empty

Avatar

Avatar
Validate 1
Level 1
jason-riis
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
jason-riis
Level 1

Likes

0 likes

Total Posts

3 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
jason-riis
Level 1

15-10-2015

I have been attempting to get the responsive simulator working.

 

I am running 5.6, and I can see it working just fine when I go to geometrixx-media and switch to Preview mode to get the devices dropdown list and switch between them.

 

On my site, I have created the sling:OsgiConfig, setup the cq:deviceGroups and included the simulator.jsp, all as instructed on the documentation (http://dev.day.com/docs/en/cq/5-6/developing/mobile/responsive.html).

 

No matter what I do, all I'm able to get is the Devices and Rotate buttons to show visible, but Devices does not have any items within its menu.

 

I saw a prior discussion on this but the recommended fix (if we can call it that since the original poster never commented on his status) did not have any affect on my instance.

 

Any help is appreciated.

 

Thanks!

View Entire Topic

Avatar

Avatar
Boost 3
Level 2
Anthony_R
Level 2

Likes

4 likes

Total Posts

26 posts

Correct Reply

10 solutions
Top badges earned
Boost 3
Boost 1
Affirm 5
Affirm 3
Affirm 10
View profile

Avatar
Boost 3
Level 2
Anthony_R
Level 2

Likes

4 likes

Total Posts

26 posts

Correct Reply

10 solutions
Top badges earned
Boost 3
Boost 1
Affirm 5
Affirm 3
Affirm 10
View profile
Anthony_R
Level 2

15-10-2015

Hi Jason,

If you are seeing the Devices button with no drop down that means CQ doesn't think the page is mobile enabled.

You can test this out by requesting http://localhost:4502/libs/wcm/core/content/pageinfo.json?path=<path to your site>

Do you see an "emulators" property in the returned JSON?

If you don't that means CQ doesn't think the resource type for the current page is a mobile page.

To verify this head on over to the OSGI web console http://localhost:4502/system/console/configMgr and search for "MobileEmulatorProvider".  Make sure your site's page component or some parent page component is listed as one of the mobile resource types.  If your resourceType is not listed it probably means your OSGI Config is not setup correctly.  Verify the name of your config.xml is unique (ie. don't copy the geometrixx sample without renaming it first).

Hopefully these suggestions help you out.

Anthony