Documentation Center

WebDAV URLs

WebDAV items are identified using Uniform Resource Locators (URLs).

A WebDAV URL is also a kind of URI. WebDAV URLs contain a full path to an item. WebDAV URLs are location-dependent: if you move or rename an item in the Content Manager, its WebDAV URL changes.

A WebDAV URL essentially contains the same information as a native URI, only in a different form:

  • the item type in the form of a file extension
  • the item ID in the form a full path to the item and the item's title
  • the context Publication ID in the form of the context Publication's title (start of path)

You can retrieve the WebDAV URL of an item by accessing the WebDAVURL property of a Repository-local object. Note that system-wide objects, such as Users or Publication Targets, do not have a WebDAV URL.

WebDAV URLs can also be used in the XML representation of items. WebDAV URLs are accepted as xlink:href attributes on XLink elements in the XML representation of an item. To retrieve WebDAV URLs from the XML representation of items, call the Load method with the LoadFlags.WebDavUrls parameter, followed by a call to the ToXml method.

WebDAV URL file extension types
In a WebDAV URL, the file extension indicates the item type. The following tables show how item types map to file extensions:
Item typeFile extension
Schemaxsd
Componentxml
Multimedia ComponentMultimedia file extension (e.g. "bmp")
Pagetpg
Target Groupttg
Keywordtkw
Component Templatetctcmp
Page Templatetptcmp
Template Building Block - Compoundtbbcmp
Template Building Block - .NET assemblytbbasm
Template Building Block - C# fragmenttbbcs
Template Building Block - Adobe Dreamweaver Templatedwt
Template Building Block - XSLT stylesheetxslt