Composite Templates: Unable to Upload Multiple Additional Documents When Server Template Already Has Documents
I’m currently integrating with the DocuSign eSignature REST API (v2.1) and facing an issue when creating envelopes using composite templates.
What I’m Trying to Do
-
Create an envelope using a server template
-
The server template already contains one or more documents
-
At runtime, upload multiple additional attachment documents (PDFs)
-
Use compositeTemplates (
serverTemplates+inlineTemplates) for this purpose
Issue
When the server template contains documents, I’m unable to upload multiple additional attachment files via composite templates.
-
Additional documents are ignored / not added to the envelope
-
If the server template has no documents, multiple attachments work as expected
Expected Behavior
All documents should be included in the envelope:
-
Template documents
-
Multiple runtime attachment documents
Actual Behavior
-
Multiple attachments cannot be added when the template already has documents
Questions
-
Is this a known limitation of composite templates?
-
Is there a recommended workaround for adding multiple runtime documents?
-
Restructuring templates?
-
Document placeholders?
-
Creating the envelope first, then updating documents?
-
-
Is the intended design that multiple attachments are only supported when templates have no documents?
Back to Docusign.com

