Tridion WebDav URL

November 9th, 2011 | Posted by Robert Curlette in Tridion

Tridion makes all items available using a WebDav URL. This is an environment independent variable that never changes. It is preferred to use this instead of an item URI when programming templates or scripts.

I recently needed a WebDavURL for a Folder and wrote the following snippet in a Component Template and then previewed with a Component in the desired folder:

[%
writeout component.organizationalitem.info.webdavurl
%]

This WebDavURL can be used anyplace you would normally use a URI.

The WebDavURL is also available on the info tab – however, on that screen you cannot copy it.

You can follow any responses to this entry through the RSS 2.0 You can leave a response, or trackback.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>