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

Namespace: CMS.DocumentEngine.Web.UI
Assembly: CMS.DocumentEngine.Web.UI (in CMS.DocumentEngine.Web.UI.dll) Version: 11.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