Question

How do I create a URL that points directly to preview mode of a page in the authoring environment?

i.e. to get to the preview of a page without first viewing edit mode and clicking on the preview icon.

Answer, Resolution

Add the following URL querystring parameter to the end of the URL wcmmode=preview

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

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

The same can be applied without the content finder http://mysite.com:4502/content/geometrixx/en.html?wcmmode=preview

Applies to

CQ 5.2.x

本产品经 Creative Commons Attribution-Noncommercial-Share Alike 3.0 Unported License 许可  Twitter™ 与 Facebook 中的内容不在 Creative Commons 的条款约束之下。

法律声明   |   在线隐私策略