Skip to main content

Hello,

I'm making an API call to DocuSign to automatically insert the "date signed" into the document.

Below is the API request payload:

"dateSignedTabs": [
    {
        "anchorString": "Date",
        "anchorYOffset": "-1",
        "fontSize": "Size12",
        "name": "Date Signed",
        "recipientId": "1",
        "tabLabel": "date_signed"
    }
]
The issue is that this results in placing the date everywhere it finds the string 'Date' in the document. I want to restrict it to only one place where the actual date is needed. Any suggestions or help?

 

Thanks,

Kishor

@KishorJayanna

You need to add the information where Docusign should place the tag into the document.

Either by providing the anchor tag information or the position, as per the following article.

Examples:

"dateSignedTabs": [
{
"anchorString": "//date_1//",
"anchorUnits": "pixels",
"anchorXOffset": "5",
"anchorYOffset": "5",
"name": "Date_1"
},
]

OR

"dateSignedTabs": [
{
"xPosition": "100",
"yPosition": "200",
"name": "Date_1",
"documentId": "1",
"pageNumber": "1"
}
]


Using the anchorString, we highly recommend to use a unique string like //date_1// to ensure it will only be positioned where you want this to appear. When you use a string like “date” this will match every occurrence of the word “date” in the document, which can be multiple times. Insert the string //date_1// into the document or template and make it white text on white background to it is invisible for the recipients but there for Docusign eSignature to position the field on top of it.


Reply