anchor - docusign - adding tabs to the document using API: It only adds signhere tab and ignores all other -
I am attempting to add dateSingedTab, fullNameTab, SignHereTab to my document, when I send a document, the doctor only sign in the signer tab Adding and ignoring other tabs. Here's my XML, can you please help
& lt; EnvelopeDefinition xmlns = "http://www.docusign.com/restapi" & gt; & Lt; EmailSubject & gt; To add a signature request to the document and sign; & Lt; / EmailSubject & gt; & Lt; Status & gt; Sent & lt; / Status & gt; & Lt; Documents & gt; & Lt; Document & gt; & Lt; DocumentId> 1 & lt; / DocumentId> & Lt; Name & gt; DocumentName & lt; / Name & gt; & Lt; / Documents & gt; & Lt; / Documents & gt; & Lt; Recipients & gt; & Lt; Signers & gt; & Lt; Signatory & gt; & Lt; RecipientId & gt; 1 & lt; / RecipientId> & Lt; Email & gt; CustEmail & lt; / Email & gt; & Lt; Name & gt; RecipientNameCust & lt; / Name & gt; & Lt; RoutingOrder & gt; 1 & lt; / RoutingOrder & gt; & Lt; Tab & gt; & Lt; DateSignedTabs & gt; & Lt; DateSignedTab & gt; & Lt; AnchorString & gt; From customer & lt; / AnchorString & gt; & Lt; AnchorXOffset & gt; 100 & lt; / AnchorXOffset & gt; & Lt; AnchorYOffset & gt; 300 & lt; / AnchorYOffset & gt; & Lt; AnchorIgnoreIfNotPresent & gt; False & lt; / AnchorIgnoreIfNotPresent & gt; & Lt; AnchorUnits & gt; Pixels & lt; / AnchorUnits & gt; & Lt; DocumentId> 1 & lt; / DocumentId> & Lt; RecipientId & gt; 1 & lt; / RecipientId> & Lt; Tab label & gt; Date signed & lt; / TabLabel & gt; & Lt; Name & gt; Date Signed & lt; / Name & gt; & Lt; / DateSignedTab & gt; & Lt; / DateSignedTabs & gt; & Lt; FullNameTabs & gt; & Lt; FullNameTab & gt; & Lt; AnchorString & gt; From customer & lt; / AnchorString & gt; & Lt; AnchorXOffset & gt; 100 & lt; / AnchorXOffset & gt; & Lt; AnchorYOffset & gt; 100 & lt; / AnchorYOffset & gt; & Lt; AnchorIgnoreIfNotPresent & gt; False & lt; / AnchorIgnoreIfNotPresent & gt; & Lt; AnchorUnits & gt; Pixels & lt; / AnchorUnits & gt; & Lt; DocumentId> 1 & lt; / DocumentId> & Lt; RecipientId & gt; 1 & lt; / RecipientId> & Lt; Tabelabel & gt; Full name & lt; / TabLabel & gt; & Lt; Name & gt; Full name & lt; / Name & gt; & Lt; / FullNameTab & gt; & Lt; / FullNameTabs & gt; & Lt; SignHereTabs & gt; & Lt; SignHere & gt; & Lt; AnchorString & gt; From customer & lt; / AnchorString & gt; & Lt; AnchorXOffset & gt; 0 & lt; / AnchorXOffset & gt; & Lt; AnchorYOffset & gt; 50 & lt; / AnchorYOffset & gt; & Lt; AnchorIgnoreIfNotPresent & gt; False & lt; / AnchorIgnoreIfNotPresent & gt; & Lt; AnchorUnits & gt; Pixels & lt; / AnchorUnits & gt; & Lt; DocumentId> 1 & lt; / DocumentId> & Lt; RecipientId & gt; 1 & lt; / RecipientId> & Lt; Tab label & gt; Sign in & lt; / TabLabel & gt; & Lt; Name & gt; Sign & lt; / Name & gt; & Lt; / SignHere & gt; & Lt; / SignHereTabs & gt; & Lt; / Tab & gt; & Lt; / Signer & gt; & Lt; / Signers & gt; & Lt; / Recipients & gt; & Lt; / EnvelopeDefinition & gt;
I found the wrong tags in the XML above I corrected them and they work fine DateSignedTab is not correct, it should be dateSigned; In addition to fullNameTab is not correct, it should be full. Please ignore this post.
You have to leave the tab
inside tab names for example, dateSigned & lt; Xml & gt;
Nodes should look like this:
& lt; DateSignedTabs & gt; & Lt; DateSigned & gt; ... & lt; / DateSigned & gt; & Lt; / DateSignedTabs & gt;
The only thing with your other tabs is to complete the full name tab like this:
Give it a try and it should work.
Comments
Post a Comment