我对以下情况有疑问。
我有一个包含 2 个文档的 Docusign 模板。模板包含两个模板角色,在文档上应用了很少的签名标签。还可能有文本输入标签、复选框标签等......
我需要发送一个信封,其中包含将替换两个模板文档但应用模板中配置的 DocuSign 标签(签名、复选框..)、应用文档可见性以及尽可能多的 DS 模板功能的信封。
使用 DocuSign.eSign C# 客户端库发送签名请求(信封)。我正在使用以下代码构建复合模板,该模板包含两个新文档,其中包含从 DocuSign 模板中检索到的适当文档 ID。
EnvelopeDefinition envDef = new EnvelopeDefinition();
envDef.EmailSubject = "Subject";
envDef.EmailBlurb = "Body";
envDef.CompositeTemplates = new List<CompositeTemplate>();
envDef.CompositeTemplates.Add(new CompositeTemplate
{
ServerTemplates = new List<ServerTemplate> {
new ServerTemplate
{
Sequence = "2",
TemplateId = "TEMPLATE_ID_GOES_HERE"
}
},
InlineTemplates = new List<InlineTemplate>
{
new InlineTemplate
{
Sequence = "1",
Documents = new List<DocuSign.eSign.Model.Document>
{
new Document
{
DocumentBase64 = "...", //document content
Name ="some.pdf",
DocumentId = "TEMPLATE_DOC1_ID_GOES_HERE" //ID of template document that should be replaced
},
new Document
{
DocumentBase64 = "...", //document content
Name ="another.pdf",
DocumentId = "TEMPLATE_DOC2_ID_GOES_HERE" //ID of template document that should to be replaced
}
}
}
}
});
信封已成功发送,签名者可以看到两个新文档,但没有在模板中配置的标签(在 Docusign Web UI 上),我想避免从客户端发送收件人选项卡。
我错过了什么吗?
谢谢。