Forcing a page to open in Preview mode ignoring user setting | Community
Skip to main content
davendrau
New Participant
October 6, 2016
Solved

Forcing a page to open in Preview mode ignoring user setting

  • October 6, 2016
  • 1 reply
  • 989 views

Is there any option to ignore user’s setting and launch a page in Preview mode by default? Points to note

  • Only apply to one specific page, not the whole site (for e.g. configuration page)
  • User can still switch to Edit mode if authorised to do so

Thanks in advance for any response.

 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by kautuk_sahni

Hi,

You can do it by adding "wcmmode=preview" at the end of the URL.

For example http://mysite.com:4502/cf#/content/geometrixx/en.html would be http://mysite.com:4502/content/geometrixx/en.html?wcmmode=preview.

Or

For classic ui,  go to: http://host:port/system/console/configMgr/com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl

Add, "cf?wcmmode=preview#" in classic UI editor URL.

//[img]http://aempodcast.com/wp-content/uploads/2014/06/cuid_WCM_Authoring_UI_Mode_Service.png[/img]

 

Thanks and Regards

Kautuk Sahni

1 reply

kautuk_sahni
kautuk_sahniAccepted solution
Employee
October 10, 2016

Hi,

You can do it by adding "wcmmode=preview" at the end of the URL.

For example http://mysite.com:4502/cf#/content/geometrixx/en.html would be http://mysite.com:4502/content/geometrixx/en.html?wcmmode=preview.

Or

For classic ui,  go to: http://host:port/system/console/configMgr/com.day.cq.wcm.core.impl.AuthoringUIModeServiceImpl

Add, "cf?wcmmode=preview#" in classic UI editor URL.

//[img]http://aempodcast.com/wp-content/uploads/2014/06/cuid_WCM_Authoring_UI_Mode_Service.png[/img]

 

Thanks and Regards

Kautuk Sahni

Kautuk Sahni