How to Call Conga Composer from Apex
-
Composer API Overview: Overview of the Composer API.
-
Using Composer API in Apex: Document Generation Using Apex Call.
Calling Conga Composer from Apex:
APIMode Value |
Action in Conga Composer |
---|---|
1 |
Attaches the document to the master object |
2 |
Reserved |
3 |
Delivers the document via Conga Sign |
4 |
Reserved |
5 |
Attaches the document to the Documents Tab (requires &DocFolderId) |
6 |
Attaches the document to Salesforce Content (requires &ContentWorkspaceId) |
12 |
Emails the document according to the Email parameters |
13 |
Delivers the document via Adobe eSign |
17 |
DocuSign |
When successful, the API Mode parameter results in a Salesforce Record ID or an error message.