I need to send a DocuSign Gen template using the Apex Toolkit within Salesforce. My goal is to automate document generation based on specific Salesforce records and trigger it programmatically. Need to incorporate Gen templates into the process. Are there any best practices, examples, or specific considerations when using Gen templates with Apex? Any guidance or code samples would be appreciated!
Page 1 / 1
I'm not sure I understand your question correctly about the "sending the template" as the template is not something that can be sent. But there's no method in Apex Toolkit (https://developers.docusign.com/docs/salesforce/) for handling document generation described here: https://developers.docusign.com/docs/esign-rest-api/esign101/concepts/documents/document-generation/
The way I can think of is using the document generation method of the eSignature REST API(https://developers.docusign.com/docs/esign-rest-api/reference/envelopes/documentgeneration/) in your Apex code.
Reply
Sign up
Already have an account? Login
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
Customer Login/Registration Developer Login/RegistrationDocusign Community
You can login or register as either a Docusign customer or developer. If you don’t already have a Docusign customer or developer account, you can create one for free when registering.
Customer Login/Registration Developer Login/RegistrationEnter your E-mail address. We'll send you an e-mail with instructions to reset your password.