AdvantageRouteHandlerSiteMap..::..PushSiteMap Method (RequestContext, Domain, Language)
Writes the sitemap.xml content to the response. First tries the physical file on
disk (either at the request path or ~/sitemap.xml); falls back to a dynamically
generated sitemap built from the CMS navigation structure for the supplied
domain/language.
Namespace:
AdvantageCMS.Core.RoutingAssembly: AdvantageCMS.Core (in AdvantageCMS.Core.dll)
Syntax
protected bool PushSiteMap( RequestContext requestContext, Domain domain, Language language )
Parameters
- requestContext
- Type: RequestContext
The routing request context whose response receives the sitemap body.
- domain
- Type: AdvantageCMS.Core.Common.BusinessEntity..::..Domain
The domain whose navigation drives the dynamically generated sitemap.
- language
- Type: AdvantageCMS.Core.Common.BusinessEntity..::..Language
The language whose navigation drives the dynamically generated sitemap.

