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

This section describes the Web Service methods used with SiteMap. The SiteMap Web service is a wrapper for the SiteMap API: Ektron.Cms.API.SiteMap. These methods can be accessed through the SiteMap.asmx file located in:

~/Workarea/webservices/WebServiceAPI/SiteMap.asmx

Web Services examples involving content are available in the Developer sample site. You can download this site from: 

http://www.ektron.com/cms400-web-cms.aspx?id=5278 

Once the developer site is installed, example code files are located in your site root. For example:

C:\Inetpub\wwwroot\CMS400Developer\Developer\dotNetAssemblies\WebServicesAPI\SiteAPI

 

IMPORTANT: If you are accessing these Web Services remotely, you will need to set the authentication header. For example:

sitemapApi.AuthenticationHeaderValue = New localhost.AuthenticationHeader()
sitemapApi.AuthenticationHeaderValue.Username = "admin"
sitemapApi.AuthenticationHeaderValue.Password = "admin"
sitemapApi.AuthenticationHeaderValue.Domain = "Domain" '''Only needed if AD/LDAP is being used
C#
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class SiteMap : EktronBaseService;
Visual Basic
<WebService(Namespace = "http://tempuri.org/")>
<WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)>
Public Class SiteMap
Inherits EktronBaseService

SiteMap.cs

Name 
Description 
The methods of the SiteMap class are listed here. 
 
Name 
Description 
 
Get the breadcrumb path of the folder in which content block exists.
This method can be accessed through the SiteMap.asmx file located in:  
 
Creates the site map from folder breadcrumb.
This method can be accessed through the SiteMap.asmx file located in:  
 
Render folder breadcrumb HTML.
This method can be accessed through the SiteMap.asmx file located in:  
 
Create HTML to render on the page.
This method can be accessed through the SiteMap.asmx file located in:  
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!