Newer Version Available
ConnectApi.Content
| Property Name | Type | Description | Available Version |
|---|---|---|---|
| checksum | String | MD5 checksum for the file. | 36.0 |
| contentUrl | String | URL of the content for links. | 36.0 |
| description | String | Description of the attachment. | 36.0 |
| downloadUrl | String | URL to the content. | 36.0 |
| fileExtension | String | Extension of the file. | 36.0 |
| fileSize | String | Size of the file in bytes. If size can’t be determined, returns unknown. | 36.0 |
| fileType | String | Type of file, such as PDF. | 36.0 |
| hasPdfPreview | Boolean | true if the file has a PDF preview available; false otherwise. | 36.0 |
| id | String | 18-character ID of the content. | 36.0 |
| imageDetails | ConnectApi.ContentImageFileDetails | Image details, or null if the file isn’t an image. | 40.0 |
| isInMyFileSync | Boolean | true if the file is synced with Salesforce Files Sync. | 36.0 |
| mimeType | String | MIME type of the file. | 36.0 |
| renditionUrl | String | URL to the rendition resource for the file. For shared files, renditions process asynchronously after upload. For private files, renditions process when the first file preview is requested, and aren’t available immediately after the file is uploaded. | 36.0 |
| renditionUrl240By180 | String | URL to the 240 x 180 pixel rendition resource for the file. For shared files, renditions process asynchronously after upload. For private files, renditions process when the first file preview is requested, and aren’t available immediately after the file is uploaded. | 36.0 |
| renditionUrl720By480 | String | URL to the 720 x 480 pixel rendition resource for the file. For shared files, renditions process asynchronously after upload. For private files, renditions process when the first file preview is requested, and aren’t available immediately after the file is uploaded. | 36.0 |
| sharingOption | ConnectApi.FileSharingOption | Sharing option of the file. Values are:
|
36.0 |
| textPreview | String | Text preview of the file if available; null otherwise. | 36.0 |
| thumb120By90RenditionStatus | String | Specifies the rendering status of the 120 x 90 preview image of the
file. One of these values:
|
36.0 |
| thumb240By180RenditionStatus | String | Specifies the rendering status of the 240 x 180 preview image of the
file. One of these values:
|
36.0 |
| thumb720By480RenditionStatus | String | Specifies the rendering status of the 720 x 480 preview image of the
file. One of these values:
|
36.0 |
| title | String | Title of the file. | 36.0 |
| versionId | String | Version ID of the file. | 36.0 |