Click or drag to resize
DocumentURLProviderGetPresentationUrl Method (TreeNode, String)

Note: This API is now obsolete.

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: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use DocumentUrlProvider.GetAbsoluteUrl() method instead.")]
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