+

Search Tips   |   Advanced Search

Mark pages as hidden under the content root

By default, pages that we create under the content root display in the main menu. If we do not want a page that we create to appear in the main menu, we can hide the page.

We do this by setting the hidden flag for the page parameter for the content-node tag in XML. Use the following XML snippet:

<content-node action="update" ...>
     ....
     <parameter name="com.ibm.portal.Hidden" type="string" update="set"><![CDATA[true]]></parameter>
     ...
</content-node>

We can still view and work with pages that are marked as hidden in Administration portlets. We can also create a direct URL to the hidden page so that the page can be accessed from other areas of the site, such as the page menu.


Parent topic: XML configuration reference