Click or drag to resize
PageRoutingHelperEnsurePathFormat Method
Ensures correct page URL path format based on settings configuration for the content tree based router.

Namespace: CMS.DocumentEngine.Routing
Assembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 13.0.131
Syntax
C#
public static bool EnsurePathFormat(
	string path,
	SiteInfoIdentifier site,
	out string formattedPath
)

Parameters

path
Type: SystemString
Page URL path.
site
Type: CMS.DataEngineSiteInfoIdentifier
Site.
formattedPath
Type: SystemString
When the return value is true formatted path is returned otherwise the original path is returned.

Return Value

Type: Boolean
True if the given path was formatted.
See Also