TreePathUtilsGetRedirectionUrl Method (Guid, Int32, String, Boolean, MacroResolver) |
Gets relative redirection URL based on given settings
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.2.23
Syntax 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:
StringSee Also