Newer Version Available
ContentNote
Supported Calls
create(), delete(), describeLayout(), describeSObjects(), query(), retrieve(), search(), update(), upsert()
Special Access Rules
- Notes must be enabled.
- Chatter must be enabled.
Fields
| Field | Details |
|---|---|
| Content |
|
| ContentSize |
|
| CreatedById |
|
| CreatedDate |
|
| FileExtension |
|
| FileType |
|
| Id |
|
| IsDeleted |
|
| IsReadOnly |
|
| LastModifiedById |
|
| LastModifiedDate |
|
| OwnerId |
|
| Title |
|
Usage
- Use ContentNote to create, query, retrieve, search, edit, and update notes.
- ContentNote is built on ContentVersion, and so it has many of the same usages.
- Not all fields can be set for notes. Only the Content and Title fields can be updated.
- The maximum file size you can upload via the SOAP API must be less than 50 MB. When a document is uploaded or downloaded via the API, it is converted to base64. This conversion increases the document size by approximately 37%. You must account for the base64 conversion increase so that the file you plan to upload is less than 50 MB.
- SOQL and SOSL queries on the ContentNote return only the most recent version of the note.