Deploying a custom banner to a dashboard space
After you have modify banner files, you must deploy the banner so that the customization appears in a space.
Before you begin
Ensure that you make your changes on a local copy of the banner files.
Procedure
- After you complete your edits to the banner content, ensure
that the directory containing the edited banner files is part of the
WebDAV folder. This directory must appear as a peer to the original bspace folder.
If necessary, copy and paste the directory to the necessary location. Your WebDAV folder now contains the following folders:
where folderName is the name of your folder.WebDAV_folder/themes/bspaceTheme/banner/bspace WebDAV_folder/themes/bspaceTheme/banner/folderName - Locate the Mashups_DynamicSpotMapping file. For a stand-alone server:
For a cluster:profile_root/BusinessSpace/node_name/server_name/mm.runtime.prof/configdmgr_profile_root/BusinessSpace/cluster/mm.runtime.prof/config - Change the value of the BannerHtml property to res:/mum/mycontenthandler/mm/dav/filestore/public/themes/bspaceTheme/banner/folderName/banner.html, where folderName is the folder name you assigned in Step 1.
- Run the updatePropertyConfig command using the wsadmin
scripting client to update the configuration.
- For a stand-alone server:The following example uses Jython:
The following example uses Jacl:AdminTask.updatePropertyConfig('[-serverName server_name -nodeName node_name -propertyFileName "profile_root/BusinessSpace/node_name/server_name/mm.runtime.prof/config/DynamicSpotMapping.properties" -prefix "Mashups_"]') AdminConfig.save()$AdminTask updatePropertyConfig {-serverName server_name -nodeName node_name -propertyFileName "profile_root/BusinessSpace/node_name/server_name/mm.runtime.prof/config/DynamicSpotMapping.properties" -prefix "Mashups_"} $AdminConfig save - For a cluster:The following example uses Jython:
The following example uses Jacl:AdminTask.updatePropertyConfig('[-clusterName cluster_name -propertyFileName "dmgr_profile_root/BusinessSpace/cluster_name/mm.runtime.prof/config/DynamicSpotMapping.properties" -prefix "Mashups_"]') AdminConfig.save()$AdminTask updatePropertyConfig {-clusterName cluster_name -propertyFileName "dmgr_profile_root/BusinessSpace/cluster_name/mm.runtime.prof/config/DynamicSpotMapping.properties" -prefix "Mashups_"} $AdminConfig save
- For a stand-alone server:
- Clear your browser cache, and then log in to in a dashboard space. You can now see the updated banner.
Parent topic: Customizing banners in dashboard spaces