Represents a repository for a Document, MailmergeTemplate, EmailTemplate, or report. Only one type of item can be contained in a folder.
create(), update(), delete(), describeSObjects(), query(), retrieve(), getDeleted(), getUpdated()
| Field | Field Type | Field Properties | Description |
|---|---|---|---|
| AccessType | picklist | Create | Required. Indicates who can access the Folder. Available values include: |
| DeveloperName | string | Create | The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your organization. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object's name in a managed package and the changes are reflected in a subscriber's organization. Label is Folder Unique Name. |
| IsReadOnly | boolean | Create | Indicates whether this Folder is read-only (true) or editable (false). Label is Read Only. |
| Name | string | Create | Label of the folder as it appears in the Salesforce.com user interface. Label is Document Folder Label. |
| NamespacePrefix | string | Filter | The namespace prefix associated
with this object. Each Developer Edition organization that creates
a managed package has a unique namespace prefix. The limit is 15 characters.
You can refer to a component in a managed package by using the namespacePrefix__componentName notation.
The namespace prefix can have one of the following values:
This field cannot be accessed unless the logged-in user has the “Customize Application” permission. |
| Type | picklist | Create | Required. Type of objects contained in the Folder. This field
cannot be updated. Available values include:
|
Only one type of item can be contained in a folder, either Document, MailmergeTemplate, EmailTemplate, or report.