Previous Topic: isAttmntLinkedKDNext Topic: getFolderList


createFolder

The following parameters apply to createFolder method:

Parameter

Type

Description

SID

Integer

Identifies the session retrieved from logging in.

parentFolderId

Integer

Identifies the unique ID of the parent folder (zero if no parent).

repId

Integer

Identifies the unique ID of the repository.

folderType

Integer

Identifies the type of folder to be created.

description

String

Identifies the description of the folder.

folderName

String

Identifies the name of the folder.

Description

Creates a new folder in the Service Desk repository that is accessed through the Attachments Library.

Note: For more information, see the Online Help.

Note: Folder types other then 0 are hidden folders and can be viewed only by navigating to Attachments Library on the Administration tab. These folders are automatically created by the system during upload and should not be created by the user or Web Services, because their files are private and cannot be shared with other Knowledge Documents, QA or Knowledge Files.

Returns

A <UDSObject> describing the folder created, with some of the following child <Attributes> nodes:

XML Element Value

Type

Description

repository

SREL

Identifies the repository name.

parent_id

SREL

Identifies the unique ID of the parent folder.

folder_type

Integer

Identifies the type of folder created.

folder_name

String

Identifies the name of the folder.

description

String

Identifies the description of the folder.