Skip to main content
shanmugavels83718654
Participant
September 7, 2018
Question

Widget API - Create new widget with pre-filled form values

  • September 7, 2018
  • 2 replies
  • 1855 views

I'm trying to implement the functionality, where users need to sign documents within the application process instead of sending a document to user for eSignature.

I used Adobe Sign API(using trail account) to achieve this and was able to create a widget and get the embedded code to display the document in the HTML page successfully.

But, while creating the widget I wanted to prefill the form fields and set field as read-only(first_name, address etc) in the document. I'm not able to access/customize form filed.

steps, I followed to achieve this.

- Create transientDocument using Form(4506_T). (POST - /transientDocuments)

- Create a widget using transientDocumentId. (POST - /widgets)

- Get embeddedCode in the widget views call response. (POST /widgets/{widgetId}/views)

But there is something called mergeFieldInfo in create widget model in (API- v5).It'll help to set a default value but there is no attribute to set field as read-only.

*API version I have tried- V6 REST API — Document e-signature Software — Adobe Sign

2 replies

Participant
August 30, 2025

Calling /widgets/:widgetId/views, include payload below to pre-fill email form value, add your form fields below email:

{
  "name": "SIGNING",
  "commonViewConfiguration": {
    "frameParent": "example.com",
    "autoLoginUser": false,
    "noChrome": false,
    "locale": "en-us"
  },
  "personalizedSigningViewConfiguration": {
    "email": "example@gmail.com",
    "comment": "This is a comment",
    "expiration": "09-20-2025",
    "reusable": false
  }
}

 

Participant
September 16, 2019

It looks like your question was posted over a year ago with no replies. I am now starting a similar adventure you describe (sign within the app instead of sending) and am wondering if you ever made any progress in your endeavours? Thank you for any updates!