We host in-person meetings, and want the attendees of the meeting to sign the meeting document via a tablet that gets passed around. We don’t know who the attendees/signers will be, or how many, but we want them to sign the document within our web application.
After a lot of experimentation with Docusign’s APIs, we’ve taken this approach:
- We create an envelope (POST to /restapi/v2/accounts/{accountId}/envelopes) with 100 allocated signers (the maximum allowed and hopefully more than will ever attend our meetings). These are placeholder signers. Our document also has 100 lines allocated for recording attendee information which feature anchor tags for recording the signature (\s1\, \s2\, etc.), anchor tags for the attendee’s name (\n1\, \n2\, etc.), and anchor tags for recording the attendee’s company (\c1\, \c2\, etc.)
- As each attendee enters their information on the tablet, we call Docusign’s recipient-update API endpoint (PUT to /restapi/v2/accounts/{accountId}/envelopes/{envelopeId}/recipients), and update the corresponding allocated signer with that attendee’s actual information (Company, First Name, Last Name). After the attendee enters their information we call Docusign’s recipient-view API (POST to /restapi/v2/accounts/{accountId}/envelopes/{envelopeId}/views/recipient) to get the URL for that signer, which we display in our application and which allows them to sign, and their information is placed at the corresponding anchor tags in the document.
- When all attendees have entered their information and signed, we call Docusign’s recipient-delete API endpoint (DELETE to /restapi/v2/accounts/{accountID}/envelopes/{envelopeId}/recipients) and remove any remaining/excess allocated placeholder signers from the envelope, which automatically completes the process, and then we download the completed document.
This all seems to work fairly well, but the problem we’re running into is with step 2. Docusign is able to update the allocated signer’s name, and use that for the signature very nicely, and it’s able to place both the attendee’s name and signature at the designated anchor tag locations in the document. But no matter what we try we cannot figure out how to get the attendee’s company to be displayed in the document at the designated company anchor tag.
We’ve tried using text tabs and other types of tags, but the best we’ve been able to do is have Docusign display is a square text box at the company anchor tag, where the attendee then has to type their company name again.
Is there any way to get that anchor tag/field pre-populated and set to the attendee’s company name?