Click or drag to resize
TransformationHelperGetDocumentLink Method
Returns a complete HTML code of the link to the currently rendered document.

Namespace: CMS.Controls
Assembly: CMS.Controls (in CMS.Controls.dll) Version: 9.0.0
Syntax
C#
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: String
See Also