May 3, 2020
Estimated Post Reading Time ~

How to disable the ContentFinder?

Question
How is it possible to disable the ContentFinder view when opening a page in CQ5?

Answer, Resolution
In a CQ5 WCM authoring environment, when you open a page via double-click, by default the ContentFinder is loaded and the actual content page displayed in a frame. While this is desirable in most cases, there are pages whose functionality does not require the presence of the ContentFinder, e.g. tool templates that don't allow content creation, like adding new paragraphs.

In order to prevent a page opening in the ContentFinder view, simply add a String property named cq:defaultView and set its value to html. This needs to be done either on
  • a page component's definition node (e.g. /apps/myapp/components/contentpage)
  • or an existing page /content/geometrixx/jcr:content


By aem4beginner

No comments:

Post a Comment

If you have any doubts or questions, please let us know.