Click or drag to resize
DocumentURLProviderGetPresentationUrl Method
Returns presentation URL for the specified node. This is the absolute URL where live presentation of given node can be found.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 12.0.0
Syntax
C#
public static string GetPresentationUrl(
	TreeNode node,
	string preferredDomainName = null
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Tree node to return presentation URL for.
preferredDomainName (Optional)
Type: SystemString
A preferred domain name that should be used as the host part of the URL.

Return Value

Type: String
See Also