Newer Version Available

This content describes an older version of this product. View Latest

ContentDownloadContext Enum

This enum specifies the download context.

Usage

If the operationContext is CONTENT, CHATTER, DELIVERY, S1, or MOBILE, it can be used in a shepherd servlet as a query parameter. Because it’s possible for a user to change the query parameters, if a user enters a value other than CONTENT, CHATTER, DELIVERY, S1, or MOBILE, the value is treated as the default value CONTENT.

Users can’t set query parameters to REST_API, SOQL, or RETRIEVE, so these values can be assumed to be accurate.

Enum Values

The Sfc.ContentDownloadContext enum value identifies the content download context. The enum value is provided as a query parameter in the file download servlet. The following are the values of the Sfc.ContentDownloadContext enum.

Value Description
CHATTER Download from Chatter.
CONTENT Default value. Downloads from the Salesforce CRM Content product.
DELIVERY Download of a content delivery.
MOBILE Download from a mobile device.
REST_API Download from the Connect API (/connect/files/${fileId}/content endpoint).
RETRIEVE Retrieve VersionData from SObject API.
S1 Download from Salesforce mobile.
SOQL Select VersionData from SOQL.