Expand my Community achievements bar.

SOLVED

Forcing a page to open in Preview mode ignoring user setting

Avatar

Level 1

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.

 

1 Accepted Solution

Avatar

Correct answer by
Administrator

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

View solution in original post

1 Reply

Avatar

Correct answer by
Administrator

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