Click or drag to resize
TreePathUtilsGetRedirectionUrl Method (Guid, Int32, String, Boolean, MacroResolver)
Gets relative redirection URL based on given settings

Namespace: CMS.DocumentEngine
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax
C#
public static string GetRedirectionUrl(
	Guid documentGuid,
	int siteId,
	string documentMenuRedirectUrl,
	bool documentMenuRedirectToFirstChild,
	MacroResolver resolver = null
)

Parameters

documentGuid
Type: SystemGuid
Document GUID
siteId
Type: SystemInt32
Document site ID
documentMenuRedirectUrl
Type: SystemString
Redirection URL
documentMenuRedirectToFirstChild
Type: SystemBoolean
Indicates if document should redirect to first child document
resolver (Optional)
Type: CMS.MacroEngineMacroResolver
Macro resolver to use

Return Value

Type: String
See Also