Click or drag to resize
DocumentURLProviderGetPresentationUrlInternal 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#
protected virtual string GetPresentationUrlInternal(
	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. Preferred domain must be assigned to the site as a domain alias otherwise site main domain is used.

Return Value

Type: String
See Also