Ektron CMS400.NET API Documentation
|
This section describes the Web Service methods used with folder. The Folder Web service is a wrapper for the Folder API: Ektron.Cms.API.Folder. These methods can be accessed through the Folder.asmx file located in:
~/Workarea/webservices/WebServiceAPI/Folder.asmx
Web Services examples involving Folder 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\FolderAPI.
IMPORTANT: If you are accessing these Web Services remotely, you will need to set the authentication header. For example:
folderApi.AuthenticationHeaderValue = New localhost.AuthenticationHeader() folderApi.AuthenticationHeaderValue.Username = "admin" folderApi.AuthenticationHeaderValue.Password = "admin" folderApi.AuthenticationHeaderValue.Domain = "Domain" '''Only needed if AD/LDAP is being used
[WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.None)] public class Folder : EktronBaseService;
<WebService(Namespace = "http://tempuri.org/")> <WebServiceBinding(ConformsTo = WsiProfiles.None)> Public Class Folder Inherits EktronBaseService
Folder.cs
Name |
Description |
The methods of the Folder class are listed here. |
|
Name |
Description |
|
Adds a folder. This method can be accessed through the Folder.asmx file located in: | |
|
Creates a folder. This method can be accessed through the Folder.asmx file located in: | |
|
Deletes folder by folder ID. This method can be accessed through the Folder.asmx file located in: | |
|
This is the overview for the GetChildFolders method overload. | |
|
This is the overview for the GetFolder method overload. | |
|
This is the overview for the GetFolderID method overload. | |
|
Finds a parent ID by using a given folder ID. This method can be accessed through the Folder.asmx file located in: | |
|
Renames folder to specified title. This method can be accessed through the Folder.asmx file located in: | |
|
This is the overview for the UpdateFolder method overload. |
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|