pathFromSiteRoot

This property retrieves the path of the current document, not including the document name.

Note

You can use the value of the pathFromSiteRoot property to construct relative paths to other assets in the site folder.

Syntax

function get xweb.document.pathFromSiteRoot() : String

Parameters

None.

Returns

This property retrieves a string that contains the path of the current document, not including the document name.

See Also

Concepts

document
document Members
xweb

  Copyright © 2011 by Microsoft Corporation. All rights reserved.