You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > SiteMap Class > SiteMap Methods > RenderWebsiteMap
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
SiteMap.RenderWebsiteMap Method

Create HTML to render on the page. 

This method can be accessed through the SiteMap.asmx file located in:

~/Workarea/webservices/WebServiceAPI/SiteMap.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "RenderWebsiteMap", Description = "")]
public string RenderWebsiteMap(WebsiteMap webSitemap, string displayType, string className, int maxLevel, int startLevel, string pageUrl);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "RenderWebsiteMap", Description = "")>
Public Function RenderWebsiteMap(webSitemap As WebsiteMap, displayType As string, className As string, maxLevel As Integer, startLevel As Integer, pageUrl As string) As string
Parameters 
Description 
webSitemap 
GetWebSiteMap() 
displayType 
Determines how to produce HTML. 
className 
Stylesheet class to format the HTML. It must exists in [site]/workarea/csslib/sitemap.css. Leave blank to accept default. 
maxLevel 
Set the max level of the sitemap. Set it to 0 for unlimited. 
startLevel 
Set the starting level of the sitemap. Set it to 0 for start from root. 

HTML/XML

Supported displayType: ListWithDescription | List | RawXml

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!