TransformationHelperGetDocumentUrl Method (Object, Object, Object, String) |
Returns URL of the currently rendered document.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax public string GetDocumentUrl(
Object siteName,
Object nodeAliasPath,
Object documentUrlPath,
string culture = null
)
Parameters
- siteName
- Type: SystemObject
Name of the site - nodeAliasPath
- Type: SystemObject
Alias path of the node - documentUrlPath
- Type: SystemObject
Url path of the document - culture (Optional)
- Type: SystemString
Culture of the the document
Return Value
Type:
StringSee Also