avenirit12
avenirit12

Reputation: 243

Docusign Anchor tab

I am trying to send a document for signing via the DocuSign REST API. I'm using Sign Here tabs with an Anchor text string.

The JSON Object request:

 "emailSubject" : "This is email subject",
  "emailBlurb" : "This is email body",
  "recipients" : {
    "signers" : [ {
      "routingOrder" : "1",
      "name" : "Recipeient Name",
      "email" : "Recipeient Email Address",
      "recipientId" : "1",
      "tabs" : {
        "signHereTabs" : [ {
          "anchorString" : "By:",
          "anchorXOffset" : "1",
          "anchorYOffset" : "1",
          "anchorIgnoreIfNotPresent" : "true",
          "anchorUnits" : "inches"
        } ]
      }
    } ]
  },
  "documents" : [ {
    "name" : "document.pdf",
    "documentId" : "1",
    "bytes" : "Byte Representaton of document"
  } ],
  "status" : "sent"
}

This is working perfectly fine with a minor glitch: The document has two matching strings "By:", and the Sign Here tab is placed on both of them.

Is there a way I can restrict this to only add the Sign Here tab to the first instance of the string "By:" in the document?

Upvotes: 1

Views: 2083

Answers (1)

timlah79
timlah79

Reputation: 186

Unfortunately, no. The anchor strings on your document must be unique, otherwise that tag will be placed anywhere that string is found. See the Rules for working with anchors section here.

Upvotes: 4

Related Questions