CopyPage.xml

 

<?xml version="1.0" encoding="UTF-8"?>
<!--
 =================================================================
 * Licensed Materials - Property of IBM
 * (c) Copyright IBM Corp. 2003, 2006.  All rights reserved.
 *
 * US Government Users Restricted Rights - Use, duplication or
 * disclosure restricted by GSA ADP Schedule Contract with IBM
 * Corp.
 *
 * DISCLAIMER OF WARRANTIES.  The following [enclosed] code is
 * sample code created by IBM Corporation.  This sample code is
 * not part of any standard or IBM product and is provided to you
 * solely for the purpose of assisting you in the development of
 * your applications.  The code is provided "AS IS", without
 * warranty of any kind.  IBM shall not be liable for any damages
 * arising out of your use of the sample code, even if they have
 * been advised of the possibility of such damages.
 *
 =================================================================
-->

<request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" create-oids="true" build="wp600_xxx" type="update" version="6.0.0.0" 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>
    <status element="all" result="ok"/>
</request>