+

Search Tips   |   Advanced Search

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...

...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:

The following url downloads the content of the themes folder:


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:

Browse to the folder you need and copy the files to your local drive.


Parent: Develop themes for a production portal