Changing the theme default profile
You can change the profile for the theme or a specific
page to define the modules loaded.
WebDAV
Procedure
- Connect your WebDAV client to http://<server>:<portal>/wps/mycontenthandler/dav/themelist/.
- Navigate to the folder for your theme and copy the metadata.properties file to your local drive.
- 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
- Copy the local copy of the metadata.properties file back into the folder for your theme in the themelist folder.
XMLAccess
Procedure
- Export the theme. You can export all themes
defined for WebSphere® Portal using the following script, or insert the specific theme object
ID you want 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>
- 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]]></parameter>
- Import the XML file using the command line or Import XML.
- Restart WebSphere Portal.
Config Tasks for WebSphere Portal 8.0 theme
About this task
Changing the profile for the ready-to-use WebSphere Portal8.0 can simply be done using
the following provided config engine tasks: - deploy-full-profile-800-theme
- deploy-full-profile-800-theme
- This config task applies the full profile to the WebSphere Portal8.0 theme.
- deploy-lightweight-profile-800-theme
- This config task applies the lightweight profile to the WebSphere Portal8.0 theme
- deploy-deferred-profile-800-theme
- This config task applies the deferred profile to the WebSphere Portal8.0 theme.