Thursday, June 14, 2012

Hidden portal page

To create a hidden portal page , first create a page and give it a proper unique name .
Export the portal page and save the xml.
Edit the xml and add the parameter


<parameter name="com.ibm.portal.Hidden" type="string" update="set"><![CDATA[true]]></parameter>
As shown below:-





<?xml version="1.0" encoding="UTF-8"?>
<request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" build="wp6101_115_01" type="update" version="6.1.0.1" xsi:noNamespaceSchemaLocation="PortalConfig_6.1.0.xsd">
    <portal action="locate">
      
       
        <content-node action="locate" domain="rel" objectid="6_20DO18N3Q4IL40ITIA32AM2085"/>
        <content-node action="update" active="true" allportletsallowed="true" content-parentref="6_20DO18N3Q4IL40ITIA32AM2085" create-type="explicit" domain="rel" objectid="6_20DO18N3QCKQ40ITNC79MH00O6" ordinal="200" type="page" uniquename="ibm.home.test">
            <supported-markup markup="html" update="set"/>
            <localedata locale="en">
                <title>test2</title>
            </localedata>
<parameter name="com.ibm.portal.Hidden" type="string" update="set"><![CDATA[true]]></parameter>
            <parameter name="com.ibm.portal.IgnoreAccessControlInCaches" type="string" update="set"><![CDATA[false]]></parameter>
            <parameter name="com.ibm.portal.bookmarkable" type="string" update="set"><![CDATA[Yes]]></parameter>
            <parameter name="com.ibm.portal.remote-cache-expiry" type="string" update="set"><![CDATA[0]]></parameter>
            <parameter name="com.ibm.portal.remote-cache-scope" type="string" update="set"><![CDATA[NON-SHARED]]></parameter>
            <access-control externalized="false" owner="uid=wpsadmin,o=defaultWIMFileBasedRealm" private="false"/>
            <component action="update" active="true" deletable="undefined" domain="rel" modifiable="undefined" objectid="7_20DO18N3QCKQ40ITNC79MH00O1" ordinal="100" orientation="H" skinref="undefined" type="container" width="undefined">
                <component action="update" active="true" deletable="undefined" domain="rel" modifiable="undefined" objectid="7_20DO18N3QCKQ40ITNC79MH00O5" ordinal="100" orientation="V" skinref="undefined" type="container" width="undefined"/>
                <component action="update" active="true" deletable="undefined" domain="rel" modifiable="undefined" objectid="7_20DO18N3QCKQ40ITNC79MH00O3" ordinal="200" orientation="V" skinref="undefined" type="container" width="undefined"/>
            </component>
        </content-node>
    </portal>
    <status element="all" result="ok"/>
</request>







2 comments: