Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Extracting multiple widget IDs with API

New Here ,
Sep 09, 2021 Sep 09, 2021

I have several different templates that are used to create agreement forms. When they're returned I use an API call to the Widget ID to extract the form data. Unfortunately when there is an agreement returned for a template that already has an agreement returned Adobe Sign groups them together. Even though they'll have separate agreement IDs when I go to extract the information with my Widget ID it gets the very first agreement, whereas I need the last (most current). I'm asking my support team to set it up so that the forms are separated but is there a way I can 1) get multiple Widget IDs and 2) tell which one is the most recent one?

TOPICS
Adobe Sign forms , Manage documents , Web forms
637
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 10, 2021 Sep 10, 2021

It may be helpful to understand how webform/widgets work. 

When a webform is created, what you have is the parent Webform. This parent webform in the API will have a WidgetID (you should be able to get htis ID by opening/viewing the webform and grabbing the ID from the address bar.

 

When someone goes to the webform and signs it, sign creates a child agreement from this parent, which has it's own AgreementID.

 

You can use the parent WidgetID with this method:

get /widgets/{widgetId}/agreements

this will return all fully signed child agreements created from this webform.

 

Note that templae forms and widget/webforms are different things in Sign. You can use a template to create a webform, but then to track any signing data, query the webform as above and not the tempalte/ libraryid

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 12, 2021 Sep 12, 2021

It appears that I'm using the correct widget ID to my form but when I try to use that Widget ID to "read" the form it returns the first form ever created from that agreement template. I'm lost as to what to do here.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Sep 13, 2021 Sep 13, 2021
LATEST

Can you share a widgetID, feel free to message me it.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines