Click or drag to resize
DocumentURLProviderGetPermanentDocUrl Method
Returns permanent document URL.

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax
C#
public static string GetPermanentDocUrl(
	Guid nodeGuid,
	string nodeAlias,
	string siteName,
	string prefix = null,
	string extension = null
)

Parameters

nodeGuid
Type: SystemGuid
Node GUID
nodeAlias
Type: SystemString
Node alias
siteName
Type: SystemString
Site name
prefix (Optional)
Type: SystemString
URL prefix, if null, "getdoc" is used, the prefix must be supported by the URL rewriting engine
extension (Optional)
Type: SystemString
Extension for the URL, if null, it is taken from the Friendly URL settings

Return Value

Type: String
See Also