Click or drag to resize

IHierarchyItemBasePath Property

IT Hit WebDAV Classes Reference
Unique item path in the repository relative to storage root.

Namespace:  ITHit.Server
Assembly:  ITHit.Server (in ITHit.Server.dll) Version: 13.3.13068
Syntax
string Path { get; }

Property Value

Type: String
String representing relative item path in the repository.
Remarks

The URL returned by this property is relative to storage root. If your server root is located at http://example.webdavsystem.com:8080/myserver/ and the item URL is http://example.webdavsystem.com:8080/myserver/myfolder/myitem.doc this property implementation must return myfolder/myitem.doc. To calculate the entire item URL the engine will call ApplicationPath property and attach it to url returned by Path property.

Examples:

  • File: myfolder/my%20doc.docx
  • Folder: myfolder/folder/
  • History item: myfolder/mydoc.docx?history
  • Version: myfolder/mydoc.docx?version=5

Examples

The code below is part of 'WebDAVServer.FileSystemStorage.AspNet' C# & VB samples provided with the SDK.

public string Path { get; private set; }
See Also