Skip to main content
Conga Support

ContentDocumentId : Versioning with Salesforce Files

 

1

Salesforce Content Integration Parameter

Active 1

0 Release 7

1  Release 8

ContentDocumentID

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

 SC0 and SC1 or DS7=11, 111

&SC0=1

&SC1=SalesforceFile

&ContentDocumentID={QVar0}

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 Query is :

SELECT ContentDocumentId

FROM ContentDocumentLink

WHERE LinkedEntityId = '{pv0}'