PageRoutingHelperEnsureAbsoluteUrlFormat Method |
Ensures correct page absolute URL format based on settings configuration for the content tree based router.
Namespace: CMS.DocumentEngine.RoutingAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax public static bool EnsureAbsoluteUrlFormat(
string absoluteUrl,
SiteInfoIdentifier siteIdentifier,
out string formattedAbsoluteUrl
)
Parameters
- absoluteUrl
- Type: SystemString
Page absolute URL. - siteIdentifier
- Type: CMS.DataEngineSiteInfoIdentifier
Site. - formattedAbsoluteUrl
- Type: SystemString
When the return value is true formatted URL is returned otherwise the original URL is returned.
Return Value
Type:
BooleanTrue if the given path URL formatted.
See Also