Conga Product Documentation

Welcome to the new doc site. Some of your old bookmarks will no longer work. Please use the search bar to find your desired topic.

download

ContentDocumentId

Versioning with Salesforce Files - Specifies the Salesforce ID of the Salesforce File record ID where you want to use Salesforce Files versioning features.

Category: Salesforce Content Integration Parameter

Compatible with: Composer 8

Parameter Name: ContentDocumentID

Parameter Value: [Salesforce ID of the Salesforce File ID]

Parameter Requirments: SC0 and SC1 or DS7=11, 111

Parameter Description: ContentDocumentID specifies the Salesforce ID of the Salesforce File record ID in which you want to use Salesforce Files' versioning features.

Typically, you use a QVar to bring the value of this Salesforce File record ID when a first version is merged already:

&QVar0ID=a031t000004INZr

&QVar0format=10000

&ContentDocumentID={QVar0}

And the corresponding SOQL Query is:

SELECT ContentDocumentId

FROM ContentDocumentLink

WHERE LinkedEntityId = '{pv0}'

Example:

&SC0=1 or &SC1=SalesforceFile or &ContentDocumentID={QVar0}