Export content from the filestore to create the theme
Get a compressed file using the browser
To obtain a compressed file of the content in the filestore, from a browser...
http://server:port/wps/mycontenthandler/dav/fs-type1/foldername/?mime-type=application/zip
...where foldername is the folder to be compressed. Optional. A slash (/) must follow the folder name.
The URL triggers a download of a compressed file. If we are prompted for a user and password enter the admin user ID and password for WebSphere Portal. Store the file on the local file system.
This following url downloads the complete content of the filestore:
http://server:port/wps/mycontenthandler/dav/fs-type1/<folder-name>/?mime-type=application/zipĀ
The following url downloads the content of the themes folder:
http://server:port/wps/mycontenthandler/dav/fs-type1/themes/?mime-type=application/zip
Automate the export using an Ant task
<target name="export-mytheme"> <get src="http://server:port/wps/mycontenthandler/dav/fs-type1/<folder-name>/?mime-type=application/zip" username="PortalAdminID" password="PortalAdminPwd" dest="/tmp/mytheme.zip" /> </target>
Use WebDAV to connect to the filestore
Use a WebDav Client to connect to the filestore using the following url:
http://server:port/wps/mycontenthandler/dav/fs-type1/
Browse to the folder you need and copy the files to your local drive.