We use DocuSign to request signatures from business partners. For each campaing, we create a template in DocuSign with the required documents and SignHere tabs (Places to sign) placed in those documents. and these SignHere tabs are associated to a Signer that is defined in the template.
When we are ready to send the documents to the users to sign (an envelope), we want to use the above template. but the name and email of the signer should change for each envelope.
We have tried (Assume that the template we provide here has a signer with the role Partner)
Providing the TemplateRoles
var envelope = new EnvelopeDefinition { TemplateId = "...", TemplateRoles = new List<TemplateRole> { new TemplateRole { RoleName = "Partner", Name = "John Doe", Email = "jd@x.com", } }, EmailSubject = "...", Status = "created" }; var result = await envelopeApi.CreateEnvelopeAsync(accountId, envelope);
Using CompositeTemplate
var envelope = new EnvelopeDefinition { CompositeTemplates = new List<CompositeTemplate> { new CompositeTemplate { ServerTemplates = new List<ServerTemplate> { new ServerTemplate { TemplateId = templateId, Sequence = "1", } }, InlineTemplates = new List<InlineTemplate> { new InlineTemplate { Sequence = "2", Recipients = new Recipients { Signers = new List<Signer> { new Signer { RoleName = "Partner", Name = "John Doe", Email = "jd@x.com", RecipientId = "1" } } } } } } }, EmailSubject = "...", Status = "created" }; var result = await envelopeApi.CreateEnvelopeAsync(accountId, envelope);
But in both cases, it doesn't update the name and email but it adds a new signer to the envelope along with the signer existing in the template. (This is not what we want).
How can we do that using the .Net SDK ?
Thank you.