AuthorId
|
- Type
- reference
- Properties
- Create, Defaulted on create, Filter, Group,
Sort,
Update
- Description
- ID of the User
who is responsible for the Document.
|
Body
|
- Type
- base64
- Properties
- Create, Nillable, Update
- Description
- Required. Encoded file data. If specified, then do not specify a URL.
|
BodyLength
|
- Type
- int
- Properties
- Filter, Group,
Sort
- Description
- Size of the file (in bytes).
|
ContentType
|
- Type
- string
- Properties
- Create, Filter, Group,
Nillable, Sort, Update
- Description
- Type of content. Label is Mime Type. Limit: 120
characters.
If the Don't allow HTML uploads as attachments
or document records security setting is enabled for your
organization, you cannot upload files with the following file extensions:
.htm, .html,
.htt, .htx,
.mhtm, .mhtml,
.shtm, .shtml,
.acgi, .svg.
|
Description
|
- Type
- textarea
- Properties
- Create, Filter, Group,
Nillable, Sort, Update
- Description
- Text description of the Document. Limit: 255 characters.
|
DeveloperName |
- Type
- string
- Properties
- Create, Defaulted on create, Filter, Group,
Sort,
Update
- Description
- The unique name of the object in the API. This name can contain only underscores and alphanumeric
characters, and must be unique in your org. 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 Document Unique Name.

Note
When
creating large sets of data, always specify a unique DeveloperName
for each record. If no DeveloperName is specified, performance may
slow while Salesforce generates one for each record.
|
FolderId
|
- Type
- reference
- Properties
- Create, Filter, Group,
Sort,
Update
- Description
- Required. ID of the Folder that contains the document.
|
IsBodySearchable |
- Type
- boolean
- Properties
- Defaulted on create, Filter, Group,
Sort
- Description
- Indicates whether the contents of the object can be searched using a SOSL FIND call. The ALL FIELDS
search group includes the content as a searchable field.
|
IsDeleted
|
- Type
- boolean
- Properties
- Defaulted on create, Filter
- Description
- Indicates whether the object has been moved to the Recycle Bin
(true) or not (false). Label is Deleted.
|
IsInternalUseOnly
|
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group,
Sort,
Update
- Description
- Indicates whether the object is only available for internal use (true) or not (false).
Label is Internal Use Only.
|
IsPublic
|
- Type
- boolean
- Properties
- Create, Defaulted on create, Filter, Group,
Sort,
Update
- Description
- Indicates whether the object is available for external use (true) or not (false).
Label is Externally Available.
|
Keywords
|
- Type
- string
- Properties
- Create, Filter, Group,
Nillable, Sort, Update
- Description
- Keywords. Limit: 255 characters.
|
LastReferencedDate |
- Type
- date
- Properties
- Filter, Nillable, Sort, Update
- Description
- The timestamp for when the current user last viewed a
record related to this record.
|
LastViewedDate |
- Type
- date
- Properties
- Filter, Nillable, Sort, Update
- Description
- The timestamp for when the current user last viewed
this record. If this value is null, this
record might only have been referenced
(LastReferencedDate) and not viewed.
|
Name
|
- Type
- string
- Properties
- Create, Filter, Group,
Sort,
Update
- Description
- Required. Name of the document. Label is Document Name.
|
NamespacePrefix |
- Type
- string
- Properties
- Filter, Group,
Sort,
Nillable
- Description
- The namespace prefix associated
with this object. Each Developer Edition organization that
creates a managed package has a unique namespace prefix. Limit:
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:
- In Developer Edition organizations, the namespace prefix is
set to the namespace prefix of the organization for all
objects that support it. There is an exception if an object
is in an installed managed package. In that case, the object
has the namespace prefix of the installed managed package.
This field’s value is the namespace prefix of the Developer
Edition organization of the package developer.
- In organizations that are not Developer Edition
organizations, NamespacePrefix is only
set for objects that are part of an installed managed
package. There is no namespace prefix for all other
objects.
|
Type
|
- Type
- string
- Properties
- Create, Filter, Group,
Nillable, Sort, Update
- Description
- File type of the Document. In general, the values match the file extension for the
type of Document (such as pdf or jpg). Label is File
Extension.
|
Url
|
- Type
- string
- Properties
- Create, Filter, Nillable, Group,
Sort,
Update
- Description
- URL reference to the file (instead of storing it in the database). If specified, do
not specify the Body or BodyLength.
|