Skip to main content link. Accesskey S
  • Log In
  • Help
  • IBM Logo
  • WebSphere Portal Family wiki
  • All Wikis
  • All Forums
  • Home
  • Product Documentation
  • Community Articles
  • Learning Center
  • IBM Redbooks
Community Articles Product Documentation Learning Center IBM Redbooks This category IBM Redbooks: Building a Sample Website Using IBM Web Content Manager 7.0 IBM Redbooks: Building and Implementing a Social Portal IBM Redbooks: Developing Exceptional Multi-Channel Web Experiences V7: IBM Web Content Manager Product Documentation V7: IBM WebSphere Portal Enable for z/OS Product Documentation V7: IBM WebSphere Portal Express Product Documentation V7: WebSphere Portal Product Documentation V8: IBM Web Content Manager Product Documentation V8: IBM WebSphere Portal Express Product Documentation V8: IBM WebSphere Portal Product Documentation (includes z/OS) Custom Search Scope...
Search
  • New Article
  • Share Show Menu▼
  • Subscribe Show Menu▼

About the Original Author

IBM contributorScott Consolatti
Contribution Summary:
  • Articles authored: 16
  • Articles edited: 0
  • Comments Posted: 3

Recent articles by this author

IBM Dojo Toolkit for Portal 8.0 Update (8.0.0.1)

Provides a list of links related to IBM Dojo Toolkit within the wiki and external resources.

Theme Customization 8.0 Update (8.0.0.1) Quick Reference

Provides a list of links related to Theme Customization within the wiki.

Theme Optimization 8.0 Update (8.0.0.1) Quick Reference

Provides a list of links related to Theme Optimization within the wiki.

Theme Customization 8.0 Quick Reference

Provides a list of links related to Theme Customization within the wiki.

Theme Optimization 8.0 Quick Reference

Provides a list of links related to Theme Optimization within the wiki.

Community articleConnecting to the Portal WebDAV with 8.0

Added by IBM contributor Scott Consolatti | Edited by IBM contributor Scott Consolatti on May 9, 2012 | Version 4
expanded Abstract
collapsed Abstract
Information on WebDAV and how to connect to the file store to work with Portal 8.0 theme static resources
Tags:

Introduction

This article will discuss the various ways to connect to WebDAV to work with the static resources of the Portal 8.0 theme framework. WebDAV allows for the administration of themes and skins. You can edit property files to update attributes of the theme and skin, such as metadata, title, description. When you save the updated file, the updates are transferred and applied to the portal model directly. The provided folder and file structure is only simulated and is not a real file system structure.
 
 

What is WebDAV?

WebSphere Portal provides a Web-based Distributed Authoring and Versioning (WebDAV) implementation that the Portal 8.0 theme framework uses to store static resources. WebDAV is a set of extensions to the HTTP protocol that allows you to collaboratively edit and manage files on remote Web servers. User interface is similar to that of a file system which facilitates the creation, deletion, and modification of resources.
 
 
 

Options for connecting to WebDAV

 
 
Client
Using a WebDAV client is the recommended way to access and work with the Portal 8.0 theme static resources.
  • WebDrive
    • The commercial WebDAV client WebDrive is supported by WebSphere Portal. This client is very reliable for working with the Portal WebDAV implementation. For setup instructions refer to the home page of South River Technologiesexternal link.
  • AnyClient
    • AnyClient is a free WebDAV client and is recommended as an alternative for WebDrive. For setup instructions refer to the home page of JScapeexternal link.
Learn More: Working with WebDAV clients: wp8
 
 
Mount Natively
Some operating systems provide services to mount the WebDAV file store as a drive connected to the system. This method is useful for both Linux and Mac since there are limited clients available.
 
Example:
To connect using the native services on a Mac, go to: Finder > Go > “Connect to a server”
 
 
Web Browser
You can download WebDAV resources as a zip archive using a web browser. To perform this task, enter a URI to the WebDAV resources you want to download as a zip archive into the web browser address bar. This URI should be in the form of:
http://host:port/wps/mycontenthandler/dav/<entry point>/<path to resources>?mime-type=application/zip
 
A dialog will prompt for login credentials and after those are successfully submitted, the requested resources will download as an archive.
  • Example to download the static resources for the Portal 8.0 theme:
    • http://localhost:10039/wps/mycontenthandler/dav/themelist/ibm.portal.80Theme?mime-type=application/zip
Automation scripts
Similar to the Web Browser, you can download WebDAV resources as a zip archive using a command line tool like wget or ant.
Example with wget:
wget --http-user=wpsadmin --http-password=wpsadmin --output-document=layouts.zip http://example.com/wps/mycontenthandler/dav/fs-type1/layout-templates?mime-type=application/zip 
Example with ant:

	<target name="export-layouts">

	<get src="http://example.com/wps/mycontenthandler/dav/fs-type1/layout-templates?mime-type=application/zip"

	username="wpsadmin"

	password="wpsadmin"

	dest="/tmp/layouts.zip" />

	</target>

	
 
Note:
Uploading resources is not available through a web browser.
 
 
ConfigEngine
The ConfigEngine provides a task to manage Portal 8.0 theme artifacts. This task uploads an archive or compressed files to portal WebDAV folders. This is useful for staging to production so your WebDAV resources can be deployed by use of scripting. The ConfigEngine task is "webdav-deploy-zip-file".
 
Learn More: Task webdav-deploy-zip-file: wp8
 
 

Connecting to WebDAV for working with portal themes and skins


The portal contains the WebDAV service and enablement layer. Before using WebDAV for WebSphere Portal, you need to set up your WebDAV client. After you have set up the WebDAV client, you can connect to WebDAV and work with portal themes and skins. To connect to WebDAV for WebSphere Portal, enter the WebDAV entry URL as follows:
 
Theme Administration:
    For working with themes in an administrative perspective (such as creating a new theme, deleting a theme, modifying the title) connect by using the following WebDAV entry URL:
    http://<server>:<port>/wps/mycontenthandler/dav/themelist/


    If you want a specific theme rather than the full list of themes, you can add the friendly name, unique name, or object ID of the theme to the URL above.
 
Skin Administration:
    For working with skins in an administrative perspective (such as creating a new skin, deleting a skin, modifying title) connect by using the following WebDAV entry URL:
    http://<server>:<port>/wps/mycontenthandler/dav/skinlist/

    If you want a specific skin rather than the full list of skins, you can add the friendly name, unique name, or object ID of the skin to the URL above.
 
Theme file store:
    For working with themes, skins, common resources, layouts, iwidget definitions (such as modifying a theme, skin, layout template) connect by using the following WebDAV entry URL:
    http://<server>:<port>/wps/mycontenthandler/dav/fs-type1/
 
Notes:
Security: The WebDAV entry point requires user authentication via HTTP basic authentication. SSL access is not supported at this time. To use WebDAV, users log in to the portal with their portal user ID. Users can then access and work with portal pages according to their access permissions as set by Portal Access Control.

Virtual portals: Themes and skins are not scoped. Therefore you can work only with the themes and skins of a complete portal installation, not with the themes and skins of virtual portals.
 
 

Required access control permissions

  • Users who want to browse or read the theme or skin WebDAV folder structure including resources need no additional access control permission.
  • Users need managing access control rights to perform the following tasks:
    • to manage themes or skins
    • to modify metadata or resources
    • to create, modify, or delete resources in the linked portal WebDAV file store theme and skin folders.
  • To give users the access rights for these tasks assign the users MANAGER role on the virtual resource THEME MANAGEMENT in Portal Access Control.

 
Wiki topics:
 
  • Using WebDAV with WebSphere Portal: wp8
    • Configuring the WebDAV file store: wp8
    • Using WebDAV file store: wp8Create New Article
    • Serving HTTP OPTIONS requests to the server context root by WebDAV clients: wp8
    • Working with WebDAV clients: wp8
    • Task webdavdeployzipfile: wp8
    •  Using WebDAV to manage pages and static content: wp8
      • Connecting to WebDAV to work with portal pages and static content: wp8
expanded Attachments (0)
collapsed Attachments (0)
expanded Versions (5)
collapsed Versions (5)
Version Comparison     
VersionDateChanged by              Summary of changes
5May 9, 2012 10:51:24 AMScott Consolatti  IBM contributorFix an article link
This version (4)May 9, 2012 10:49:35 AMScott Consolatti  IBM contributorChange some section links
3May 9, 2012 10:42:04 AMScott Consolatti  IBM contributorFix code format issue
2May 9, 2012 10:38:04 AMScott Consolatti  IBM contributorFix color/formatting issue
1May 9, 2012 10:31:57 AMScott Consolatti  IBM contributorCreate initial article
Copy and paste this wiki markup to link to this article from another article in this wiki.
Go ElsewhereStay ConnectedHelpAbout
  • IBM Collaboration Solutions wikis
  • IBM developerWorks
  • IBM Software support
  • Twitter LinkIBMSocialBizUX on Twitter
  • FacebookIBMSocialBizUX on Facebook
  • ForumsLotus product forums
  • BlogsIBM Social Business UX blog
  • Community LinkIBM Collaboration Solutions
  • Wiki Help
  • Forgot user name/password
  • Wiki design feedback
  • Content feedback
  • About the wiki
  • About IBM
  • Privacy
  • Accessibility
  • IBM Terms of use
  • Wiki terms of use