+

Search Tips   |   Advanced Search

CopyPage.xml

 

<?xml version="1.0" encoding="UTF-8"?>

<!-- CopyPage.xml -->

<request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
         create-oids="true" 
         type="update" xsi:noNamespaceSchemaLocation="PortalConfig_1.4.xsd">

    <portal action="locate">

    	<!-- If we'd like another portlet on the page, we'd need to specify it here. -->
        <web-app action="locate" 
                 domain="rel" 
                 objectid="1_NBV6J7T01GJF102SINIUOGNO00" 
                 uid="com.ibm.wps.portlets.welcome">

            <!-- Added the referenceid attribute. See also ClonePortlet.xml. -->

            <servlet action="locate" 
                     domain="rel" 
                     objectid="V_NBV6J7T01GJF102SINIUOGRO00" 
                     referenceid="portletidwelcome"/>

            <portlet-app action="locate" 
                         domain="rel" 
                         name="Welcome" 
                         objectid="2_NBV6J7T01GJF102SINIUOGVO00" 
                         uid="com.ibm.wps.portlets.welcome.1">

                <portlet action="locate" 
                         domain="rel" 
                         name="Welcome Portlet" 
                         objectid="3_NBV6J7T01GJF102SINIUOG3P00"/>
            </portlet-app>

        </web-app>

        <content-node action="locate" 
                      domain="rel" 
                      objectid="6_000000000000000000000000A0" 
                      uniquename="wps.content.root"/>

        <content-node action="locate" 
                      domain="rel" 
                      objectid="6_NBV6J7T01GJF102SINIUOG3D10" 
                      uniquename="ibm.portal.Home"/>

        <!-- objectid is removed. It will be created.-->
        <content-node action="update" 
                      active="true" 
                      allportletsallowed="false" 
                      content-parentref="6_NBV6J7T01GJF102SINIUOG3D10" 
                      create-type="explicit" 
                      domain="rel" 
                      ordinal="1000" 
                      type="page" 
                      uniquename="ibm.portal.AnotherSamplePage">

            <supported-markup markup="html" update="set"/>

            <localedata locale="en">
            	<!-- updated the title -->
                <title>Copied Sample Page</title>
            </localedata>

            <access-control externalized="false" 
                            owner="undefined" 
                            private="false"/>

            <component action="update" 
                       active="true" 
                       deletable="undefined" 
                       domain="rel" 
                       modifiable="undefined" 
                       objectid="7_T6N1H4420OGN102SN68TNSB000" 
                       ordinal="100" 
                       orientation="H" 
                       type="container" 
                       width="undefined">

                <component action="update" 
                           active="true" 
                           deletable="undefined" 
                           domain="rel" 
                           modifiable="undefined" 
                           objectid="7_T6N1H4420OGN102SN68TNSF000" 
                           ordinal="100" 
                           type="control" 
                           width="undefined">

                    <portletinstance action="update" 
                                     domain="rel" 
                                     objectid="5_T6N1H4420OGN102SN68TNSJ000" 
                                     portletref="3_NBV6J7T01GJF102SINIUOG3P00" 
                                     shareref="undefined"/>

                </component>

            </component>
        </content-node>
    </portal>
</request>