Ektron CMS400.NET API Documentation
|
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
[WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] public class SiteMap : EktronBaseService;
<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: |
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|