Pages

Tuesday, 24 December 2013

How to disable the Content finder

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


No comments:

Post a Comment

Converting InputStream to String

    private String convertToString(InputStream inputStreamObj)             throws IOException {         if (inputStreamObj != null) {     ...