+

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.


Parent: Change the theme profile


WebDAV

  1. Connect the WebDAV client to http://<server>:<portal>/wps/mycontenthandler/dav/themelist/.

  2. Navigate to the folder for the theme and copy the metadata.properties file to the local drive.

  3. Edit the local copy of the file and modify it to point to the profile desired. For Example:
    com.ibm.portal.themetype=CSA2
    resourceaggregation.profile=profiles/profile_full.json
    

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


XMLAccess

  1. Export the theme. We can export all themes defined for 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.0.0.xsd" type="export"
    create-oids="true">
        <portal action="locate">
           <theme action="export" objectid="*" />
        </portal>
    </request>
    

  2. Modify the parameter resourceaggregation.profile to point to the new profile. For Example:
    <parameter name="resourceaggregation.profile" type="string" update="set"><![CDATA[profiles/profile_full.json]]&gt;</parameter>
    

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

  4. Restart WebSphere Portal.


Config Tasks for WebSphere Portal 8.0 theme

Change the profile for the ready-to-use WebSphere Portal8.0 can simply be done using the following provided config engine tasks: