TransformationHelperGetDocumentLink Method |
Returns a complete HTML code of the link to the currently rendered document.
Namespace: CMS.ControlsAssembly: CMS.Controls (in CMS.Controls.dll) Version: 8.2.23
Syntax public string GetDocumentLink(
Object siteName,
Object nodeAliasPath,
Object documentUrlPath,
Object documentName,
bool encodeName
)
Parameters
- siteName
- Type: SystemObject
Name of the site - nodeAliasPath
- Type: SystemObject
Alias path of the node - documentUrlPath
- Type: SystemObject
Url path of the document - documentName
- Type: SystemObject
Name of the document - encodeName
- Type: SystemBoolean
If true, the document name is encoded
Return Value
Type:
StringSee Also