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

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
C#
[WebService(Namespace = "http://tempuri.org/")]
[WebServiceBinding(ConformsTo = WsiProfiles.None)]
public class Folder : EktronBaseService;
Visual Basic
<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. 
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!