DocumentURLProviderGetPermanentDocUrl Method |
Returns permanent document URL.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 11.0.0
Syntax 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:
StringSee Also