docusign-使用API向文档中添加标签:仅在此处添加signhere标签,而忽略所有其他标签 [英] docusign - adding tabs to the document using API: It only adds signhere tab and ignores all other
问题描述
我正在尝试将dateSingedTab,fullNameTab,signHereTab添加到我的文档中.当我发送文档时,docusign仅添加signHereTab并忽略其他选项卡.这是我的xml.你能帮忙吗?
I am trying to add dateSingedTab, fullNameTab,signHereTab to my document. When I send the document, docusign is only adding the signHereTab and ignoring other tabs. Here is my xml. Can you please help.
<envelopeDefinition xmlns="http://www.docusign.com/restapi">
<emailSubject>API Call for adding signature request to document and sending</emailSubject>
<status>sent</status>
<documents>
<document>
<documentId>1</documentId>
<name>documentName</name>
</document>
</documents>
<recipients>
<signers>
<signer>
<recipientId>1</recipientId>
<email>custEmail</email>
<name>recipientNameCust</name>
<routingOrder>1</routingOrder>
<tabs>
<dateSignedTabs>
<dateSignedTab>
<anchorString>SIGNED on behalf of the Customer</anchorString>
<anchorXOffset>100</anchorXOffset>
<anchorYOffset>300</anchorYOffset>
<anchorIgnoreIfNotPresent>false</anchorIgnoreIfNotPresent>
<anchorUnits>Pixels</anchorUnits>
<documentId>1</documentId>
<recipientId>1</recipientId>
<tabLabel>Date Signed</tabLabel>
<name>Date Signed</name>
</dateSignedTab>
</dateSignedTabs>
<fullNameTabs>
<fullNameTab>
<anchorString>SIGNED on behalf of the Customer</anchorString>
<anchorXOffset>100</anchorXOffset>
<anchorYOffset>100</anchorYOffset>
<anchorIgnoreIfNotPresent>false</anchorIgnoreIfNotPresent>
<anchorUnits>Pixels</anchorUnits>
<documentId>1</documentId>
<recipientId>1</recipientId>
<tabLabel>Full Name</tabLabel>
<name>Full Name</name>
</fullNameTab>
</fullNameTabs>
<signHereTabs>
<signHere>
<anchorString>SIGNED on behalf of the Customer</anchorString>
<anchorXOffset>0</anchorXOffset>
<anchorYOffset>50</anchorYOffset>
<anchorIgnoreIfNotPresent>false</anchorIgnoreIfNotPresent>
<anchorUnits>Pixels</anchorUnits>
<documentId>1</documentId>
<recipientId>1</recipientId>
<tabLabel>Sign Here</tabLabel>
<name>Sign Here</name>
</signHere>
</signHereTabs>
</tabs>
</signer>
</signers>
</recipients></envelopeDefinition>
我在上面的xml中弄错了标签.我纠正了它们,它们工作正常. dateSignedTab不正确,应为dateSigned.另外fullNameTab是不正确的,它应该是fullName. 请忽略此帖子.
I got the tags wrong in above xml. I corrected them and they work fine. dateSignedTab is not correct, it should be dateSigned. Also fullNameTab is not correct, it should be fullName. Please ignore this post.
推荐答案
您需要删除内部选项卡名称中的tabs
部分.例如,对于dateSigned选项卡,<xml>
节点需要看起来像这样:
You need to drop the tabs
part of the inside tab names. For instance, for dateSigned tabs the <xml>
nodes need to look like this:
<dateSignedTabs>
<dateSigned>
...
</dateSigned>
</dateSignedTabs>
与其他标签相同...全名标签需要这样设置:
Same thing with your other tabs... the full name tabs need to be setup like this:
<fullNameTabs>
<fullName>
...
</fullName>
</fullNameTabs>
给出尝试,它应该可以工作.
Give that a try and it should work.
这篇关于docusign-使用API向文档中添加标签:仅在此处添加signhere标签,而忽略所有其他标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!