Newer Version Available

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

ContentDistributionView

Represents information about views of a shared document. This read-only object is available in API version 32.0 and later.

Supported Calls

describeSObjects()query()retrieve()

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.
  • If the shared document is deleted, the delete cascades to any associated ContentDistributionView. The ContentDistributionView is still queryable by using the QueryAll verb.
  • Customer Portal users can’t access this object.
  • Chatter Free users can’t access this object.

Fields

Field Name Details
DistributionId
Type
reference
Properties
Filter, Group, Sort
Description
ID of the content delivery that the document is part of.
IsDownload
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
true if the shared document is downloaded; false if the shared document is viewed.
IsInternal
Type
boolean
Properties
Defaulted on create, Filter, Group, Sort
Description
true if the shared document is viewed by a user in the same organization; false if viewed by an external user.
ParentViewId
Type
reference
Properties
Filter, Group, Nillable, Sort
Description
ID of this instance of accessing the shared document.

Usage

Use this read-only object to query information about users who are accessing shared documents.