Saturday, 21 March 2015

Retreiving web-dav content for theme in websphere portal8

Webdav :- Is the place where we store the static content related to portal theme. Different tools are used to connect to it via Anyclient,bitkonex etc. actual stored location of these files will be in JCR db.

Exporting content from the filestore is required in different scenarios, however with different files to be
exported. See the concrete scenario description for the detailed list of files to export.
You can access the filestore by using the following URL:-
http://<server>:<port>/wps/mycontenthandler/dav/fs-type1/

Use one of the following options to export the files stored there:-
Get a compressed file using your browser
You can obtain a compressed file of the content in the filestore using your browser. Enter the following
url in your browser:
http://<server>:<port>/wps/mycontenthandler/dav/fs-type1/<folder-name>/?mime-type=application/zip
Where:
1. The <server> value is the host name of the portal.
2. The <port> value is the port number for WebSphere Portal.
3. The <folder-name> value is the folder to be compressed. This value is optional.
Note: A / must follow the folder name.
The URL triggers a download of a compressed file. If you 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

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.

No comments:

Post a Comment

Custom single threaded java server

 package com.diffengine.csv; import java.io.*; import java.net.*; import java.util.Date; public class Server { public static void main(Str...