No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
ContentDistribution
Represents information about sharing a document. This object is available in API version 32.0 and later.
Supported Calls
create(), delete(), describeSObjects(), query(), retrieve(), undelete(), update(), upsert()
Special Access Rules
- Salesforce CRM Content or Chatter must be enabled to query shared documents. To query content deliveries, content deliveries must be enabled.
- Users (including users with the “View All Data” permission) can query only the files that they have access to. If the file is managed by a Content Library, the user must have “Deliver Content” enabled in the library permission definition and be a member of the library. If the file isn’t managed by a Content Library, the user must have the “Create and Share Content Deliveries for Chatter Files” permission.
- Users can query the DistributionPublicUrl and Password fields only if they are the file owner, if the file is shared with them, or if the RelatedRecordId specifies a record that the users can access.
- If the shared document is deleted, the delete cascades to any associated ContentDistribution. The ContentDistribution is still queryable by using the QueryAll verb.
- If the shared document is archived, the only fields that users can edit are ExpiryDate and PreferencesExpires.
- Customer Portal users can’t access this object.
- Chatter Free users can’t access this object.
Fields
Usage
Use this object to create, update, delete, or query information about sharing a document by sharing via link in Chatter or by sending as a Salesforce CRM Content delivery.