嵌入式 Docusign - 在不使用模板的情况下将文本选项卡添加到动态信封
Embedded Docusign -Adding text tabs to Dynamic envelop without using template
我无法在没有模板的情况下创建动态信封上的文本选项卡。我将 PDf 文档作为字节发送给 Docusign,因为我需要为每个收件人生成一个唯一的信封 ID。我能够使用指定的文档生成收件人视图。我还可以添加 signHereTabs 和 dateSignedTabs 但不能添加文本 tabs/first 名称标签。文档中很少有地方需要用户使用文本框填写信息。请提供解决方案,为引导式签名添加文本选项卡。
包络定义如下:
"<envelopeDefinition xmlns=\"http://www.docusign.com/restapi\">" +
"<emailSubjectxxx</emailSubject>" +
"<status>sent</status>" +
"<documents>" +
"<document>" +
"<documentId>1</documentId>" +
"<name>" + documentName + "</name>" +
"</document>" +
"</documents>" +
"<recipients>" +
"<signers>" +
"<signer>" +
"<recipientId>1</recipientId>" +
"<email>" + recipientEmail + "</email>" +
"<name>" + recipientName + "</name>" +
"<clientUserId>1</clientUserId>" +
"<tabs>" +
"<signHereTabs>" +
"<signHere>" +
"<anchorString>By:</anchorString>" +
"<anchorXOffset>1</anchorXOffset>" +
"<anchorYOffset>0</anchorYOffset>" +
"<anchorIgnoreIfNotPresent>false</anchorIgnoreIfNotPresent>" +
"<anchorUnits>inches</anchorUnits>" +
"<documentId>1</documentId>" +
"<pageNumber>1</pageNumber>" +
"<recipientId>1</recipientId>" +
"</signHere>" +
"</signHereTabs>" +
"<dateSignedTabs>" +
"<dateSigned>" +
"<anchorString>(Date)</anchorString>" +
"<anchorXOffset>1</anchorXOffset>" +
"<anchorYOffset>-0.25</anchorYOffset>" +
"<anchorIgnoreIfNotPresent>false</anchorIgnoreIfNotPresent>" +
"<anchorUnits>inches</anchorUnits>" +
"<documentId>1</documentId>" +
"<pageNumber>1</pageNumber>" +
"<recipientId>1</recipientId>" +
"</dateSigned>" +
"</dateSignedTabs>" +
"<textTabs>" +
"<textTab>" +
"<tabLabel>Data Field 1</tabLabel>" +
"<locked>false</locked>" +
"<xPosition>200</xPosition>" +
"<yPosition>200</yPosition>" +
"<documentId>1</documentId>" +
"<pageNumber>1</pageNumber>" +
"<recipientId>1</recipientId>" +
"<name>Text</name>" +
"<required>true</required>" +
"<value>Text</value>" +
"</textTab>" +
"</textTabs>" +
"</tabs>" +
"</signer>" +
"</signers>" +
"</recipients>" +
"</envelopeDefinition>";
谢谢!
您需要将每个数据选项卡的内部 xml 元素名称更改为 <text>
。所以改为:
"<textTabs>" +
"<text>" +
...
我无法在没有模板的情况下创建动态信封上的文本选项卡。我将 PDf 文档作为字节发送给 Docusign,因为我需要为每个收件人生成一个唯一的信封 ID。我能够使用指定的文档生成收件人视图。我还可以添加 signHereTabs 和 dateSignedTabs 但不能添加文本 tabs/first 名称标签。文档中很少有地方需要用户使用文本框填写信息。请提供解决方案,为引导式签名添加文本选项卡。
包络定义如下:
"<envelopeDefinition xmlns=\"http://www.docusign.com/restapi\">" +
"<emailSubjectxxx</emailSubject>" +
"<status>sent</status>" +
"<documents>" +
"<document>" +
"<documentId>1</documentId>" +
"<name>" + documentName + "</name>" +
"</document>" +
"</documents>" +
"<recipients>" +
"<signers>" +
"<signer>" +
"<recipientId>1</recipientId>" +
"<email>" + recipientEmail + "</email>" +
"<name>" + recipientName + "</name>" +
"<clientUserId>1</clientUserId>" +
"<tabs>" +
"<signHereTabs>" +
"<signHere>" +
"<anchorString>By:</anchorString>" +
"<anchorXOffset>1</anchorXOffset>" +
"<anchorYOffset>0</anchorYOffset>" +
"<anchorIgnoreIfNotPresent>false</anchorIgnoreIfNotPresent>" +
"<anchorUnits>inches</anchorUnits>" +
"<documentId>1</documentId>" +
"<pageNumber>1</pageNumber>" +
"<recipientId>1</recipientId>" +
"</signHere>" +
"</signHereTabs>" +
"<dateSignedTabs>" +
"<dateSigned>" +
"<anchorString>(Date)</anchorString>" +
"<anchorXOffset>1</anchorXOffset>" +
"<anchorYOffset>-0.25</anchorYOffset>" +
"<anchorIgnoreIfNotPresent>false</anchorIgnoreIfNotPresent>" +
"<anchorUnits>inches</anchorUnits>" +
"<documentId>1</documentId>" +
"<pageNumber>1</pageNumber>" +
"<recipientId>1</recipientId>" +
"</dateSigned>" +
"</dateSignedTabs>" +
"<textTabs>" +
"<textTab>" +
"<tabLabel>Data Field 1</tabLabel>" +
"<locked>false</locked>" +
"<xPosition>200</xPosition>" +
"<yPosition>200</yPosition>" +
"<documentId>1</documentId>" +
"<pageNumber>1</pageNumber>" +
"<recipientId>1</recipientId>" +
"<name>Text</name>" +
"<required>true</required>" +
"<value>Text</value>" +
"</textTab>" +
"</textTabs>" +
"</tabs>" +
"</signer>" +
"</signers>" +
"</recipients>" +
"</envelopeDefinition>";
谢谢!
您需要将每个数据选项卡的内部 xml 元素名称更改为 <text>
。所以改为:
"<textTabs>" +
"<text>" +
...