Parses the provided URL and returns a PageInfo object describing the required page.
Namespace: CMS.DocumentEngineAssembly: CMS.DocumentEngine (in CMS.DocumentEngine.dll) Version: 8.0.0.0 (8.1.5347.20411)
Parameters
- siteName
- Type: System String
Site name
- url
- Type: System String
Full url of the request, including domain name, application, path and extension
- cultureCode
- Type: System String
Current document culture code
- defaultAliasPath
- Type: System String
Default alias path to use in case of default page, if null the path is taken from the system configuration
- combineWithDefaultCulture
- Type: System Boolean
Combine with default culture?
- isDocumentPage
- Type: System Boolean
Is document page
- pageResult
- Type: CMS.DocumentEngine PageInfoResult
Returns the contextual data for the given url
Return Value
Type: PageInfoReturns null if no such page exists.
Exceptions
Exception | Condition |
---|---|
CMS.DocumentEngine PageNotFoundException | Thrown when PageInfo was not found for current URL. |
CMS.DocumentEngine DomainNotFoundException | Thrown when SiteInfo was not found for current URL. |
See Also