The contentVisibility parameter determines whether a file is available to all users, internal users, or shared users.

Category: Salesforce Content Integration Parameter

Compatible with: Composer 8

Parameter Name: contentVisibility

Parameter Values: [AllUsers, InternalUsers, SharedUsers]

Parameter Requirements: None

Parameter Description: The contentVisibility determines whether a file is available to all users, internal users, or shared users.

The contentVisibility parameter is useful for giving Community users access to Salesforce Files generated with Conga Composer. To give Community users access to Composer-generated files, use &contentVisibility=AllUsers.

It is highly recommended to use both the contentVisibility parameter and the contentShareType parameter in the same Composer button URL to determine Salesforce File visibility and permissions.

ValueDefinition
AllUsersThe file is available to all users who have permission to see the file.
InternalUsersThe file is available only to internal users who have permission to see the file.
SharedUsersThe file is available to all users who can see the feed to which the file is posted.

SharedUsers is used only for files shared with users, and is available only when an org has private org-wide sharing on by default. The SharedUsers value is available in API version 32.0 and later

Example:

&contentVisibility=AllUsers