The contentShareType parameter determines the permission type granted to the user for a shared file.

Category: Salesforce Content Integration Parameter

Compatible with: Composer 8

Parameter Name: contentShareType

Parameter Value: [V, C, I]

Parameter Requirements: None

Parameter Description: ContentShareType determines the permission type granted to the user for a shared file.

The contentShareType parameter is useful for determining Salesforce File permissions for Community users.

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

ValueDefinition
VAssigns the Viewer permission. The user can explicitly view but not edit the shared file.
CAssigns the Collaborator permission. The user can explicitly view and edit the shared file.
IAssigns the Inferred permission. The user’s permission is determined by the related record. For shares with a library, this is defined by the permissions the user has in that library.

Example:

&contentShareType=I