Click or drag to resize
ContentMediaViewGetContentItemUrl Method
Creates URL for node. If node belongs to current site, a relative URL is returned. If node belongs to site different from current site, a presentation URL is returned (if presentation URL configuration is available). Otherwise, an absolute URL returned.

Namespace: CMS.UIControls
Assembly: CMS.UIControls (in CMS.UIControls.dll) Version: 12.0.0
Syntax
C#
public string GetContentItemUrl(
	TreeNode node
)

Parameters

node
Type: CMS.DocumentEngineTreeNode
Tree node to to find URL for.

Return Value

Type: String
See Also