+

Search Tips   |   Advanced Search

Change the theme default profile

We can change the profile for the theme, or a specific page, to define the modules loaded.


WebDAV

  1. Connect the WebDAV client to...

      http://<server>:<portal>/wps/mycontenthandler/dav/themelist/

  2. Navigate to the folder for the theme.

  3. Copy metadata.properties to your local drive.

  4. Modify the local copy to point to the desired profile desired. For example...

  5. Copy the local copy of metadata.properties back into the folder for the theme in the themelist folder.


xmlaccess

  1. Export the theme.

    We can export all themes defined for HCL WebSphere Portal using the following script, or insert the specific theme object ID to export:

    <?xml version="1.0" encoding="UTF-8"?>
    <request xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:noNamespaceSchemaLocation="PortalConfig_8.5.0.xsd" type="export"
                create-oids="true">
         <portal action="locate">
           <theme action="export" object />
        </portal>
     </request>

  2. Point to the new profile. For example:

  3. Import the XML file using the command line or Import XML.

  4. Restart HCL WebSphere Portal.


Parent Change the theme profile