CreateTemplateFolder.xml

+

Search Tips   |   Advanced Search

 

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

<request
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:noNamespaceSchemaLocation="PortalConfig_8.0.0.xsd"
    type="update"
    domain="comm">

    <!-- Sample for creating a template folder below the root folder. -->
    <portal action="locate">

   
        <!-- Parent element under which the new folder is inserted -->
        <template-folder action="locate" objectid="rootFolder" uniquename="ibm.portal.template.root.folder"/>
      
        <!-- The new folder. parentid attribute must match the objectid of the parent. Change the uniquename attribute to create another folder.-->
        
        <template-folder action="update" uniquename="ibm.portal.SampleTemplateFolder" parent-ref="rootFolder">
            <localedata locale="en" prefix="tempFolder.root">
                <title>A sample template folder</title>
                <description>A sample template folder description</description>
            </localedata>
        </template-folder>

    </portal>
</request>