---
schema_version: "1"
id: 0081e56be5c33a2aaab1ba2f06afa031833134dfb8282f19f321c7ceb346206c
title: ContentDistributionView
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/object_reference/sforce_api_objects_contentdistributionview.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.object_reference.meta/object_reference/sforce_api_objects_contentdistributionview.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: e43d3f4f4e3b7e46cc7c48e902b2f2b238966e273ba05d6f50fc8679abf004eb
description: Represents information about views of a shared document. This read-only object is available in API version 32.0 and later.
---
# ContentDistributionView

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

## Supported Calls

delete(), describeSObjects(), query(), retrieve(), update()

## Special Access Rules

- Content deliveries must be enabled to query content deliveries.
- 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 “Enable Creation of Content Deliveries for Salesforce Files” permission.
- ContentDistributionView can be deleted by an admin.
- 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.

This is a relationship field.

Relationship Name

Distribution

Relationship Type

Lookup

Refers To

ContentDistribution



 |
| 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.