This class is abstract.
Subclass of ConnectApi.ActorWithId Class
Superclass of ConnectApi.FileSummary Class
Name | Type | Description | Available Version |
---|---|---|---|
checksum | String | MD5 checksum for the file | 28.0 |
contentModifiedDate | Datetime | An ISO 8601 format date string, for example, 2011-02-25T18:24:31.000Z. File-specific modified date, which is updated only for direct file operations, such as rename. Modifications to the file from outside of Salesforce can update this date. | 32.0 |
contentSize | Integer | Size of the file in bytes | 28.0 |
contentUrl | String | If the file is a link, returns the URL, otherwise, the string “null” | 28.0 |
description | String | Description of the file | 28.0 |
downloadUrl | String | URL to the file, that can be used for downloading the file | 28.0 |
fileExtension | String | Extension of the file | 28.0 |
fileType | String | Type of file, such as PDF, PowerPoint, and so on | 28.0 |
flashRenditionStatus | String | Specifies if a flash preview version of the file has been rendered | 28.0 |
isInMyFileSync | Boolean | true if the file is synced withSalesforce Files Sync; false otherwise. | 28.0 |
isMajorVersion | Boolean | true if the file is a major version; false if the file is a minor version. Major versions can’t be replaced. | 31.0 |
mimeType | String | File’s MIME type | 28.0 |
moderationFlags | ConnectApi.ModerationFlags | Information about the moderation flags on a file. If ConnectApi.Features.communityModeration is false, this property is null. | 30.0 |
modifiedDate | Datetime | An ISO 8601 format date string, for example, 2011-02-25T18:24:31.000Z. Modifications to the file from within Salesforce update this date. | 28.0 |
name | String | Name of the file | 28.0 |
origin | String | Specifies the file source. Valid values are:
|
28.0 |
owner | ConnectApi.UserSummary | File’s owner | 28.0 |
pdfRenditionStatus | String | Specifies if a PDF preview version of the file has been rendered | 28.0 |
publishStatus | ConnectApi.FilePublishStatus | Specifies the publish status of the file.
|
28.0 |
renditionUrl | String | URL to the rendition for the file | 28.0 |
renditionUrl240By180 | String | URL to the 240 x 180 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. | 29.0 |
renditionUrl720By480 | String | URL to the 720 x 480 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. | 29.0 |
sharingOption | ConnectApi.FileSharingOption |
Sharing option of the file. Values are:
|
35.0 |
sharingRole | ConnectApi.FileSharingType |
Specifies the sharing role of the file:
|
28.0 |
textPreview | String | Text preview of the file if available, null otherwise. | 30.0 |
thumb120By90RenditionStatus | String |
Specifies the rendering status of the 120 x 90 preview image of the
file. One of these values:
|
28.0 |
thumb240By180RenditionStatus | String |
Specifies the rendering status of the 240 x 180 preview image of the
file. One of these values:
|
28.0 |
thumb720By480RenditionStatus | String |
Specifies the rendering status of the 720 x 480 preview image of the
file. One of these values:
|
28.0 |
title | String | Title of the file | 28.0 |
versionNumber | String | File’s version number | 28.0 |