如何在C#嵌入式签名中预填充docusign模板选项卡?

时间:2015-03-06 20:37:25

标签: docusignapi

我有一个模板,我已经为电子邮件创建了一个自定义标签,我想在嵌入式签名的API调用中从我的数据库传递值。如何实现这一目标?以下不起作用。例如:

                "<templateId>" + templateId + "</templateId>" +
                "<templateRoles>" +
                "<templateRole>" +
                "<email>" + recipientEmail + "</email>" +
                "<name>" + recipientName + "</name>" +
                "<roleName>" + templateRole + "</roleName>" +
                "<clientUserId>1</clientUserId>" +  // user-configurable +
                "<tabs>" +
                "<texttabs>" +
                "<texttab>" +
                    "<tablabel>Email</tablabel>" +
                    "<value> " + recipientEmail + "</value>" +
                "</texttab>" +
                "</texttabs>" +
                "</tabs>" +
                "</templateRole>" +
                "</templateRoles>" +
                "</envelopeDefinition>";

1 个答案:

答案 0 :(得分:1)

           .....
           "<tabs>" +
            "<texttabs>" +
               "<text>" +
                "<tablabel>Email</tablabel>" +
                "<value> " + recipientEmail + "</value>" +
               "</text>" +
            "</texttabs>" +
            "</tabs>" +
         .......