Configuring the Dropdown Widget to Populate Values Using Variables - Configuring the Dropdown Widget to Populate Values Using Variables - You can use a Variable data source to populate dropdown values from a JSON form variable. - Content Innovation Cloud - Hyland Automate Modeler - Current/Hyland-Automate-Modeler/huz1259205520219 - Current - Current

Hyland Automate Modeler

Platform
Content Innovation Cloud
Product
Hyland Automate Modeler
Release
Current
License
ft:lastPublication
2026-11-16T23:02:28.533499
ft:locale
en-US

You can use a Variable data source to populate dropdown values from a JSON form variable.

Note: The data source must be a JSON type Form Variable. Process variables cannot be used for this configuration.

To configure the Dropdown widget to use the JSON Variables for populating the values:

  1. Select the Dropdown widget from the form.
  2. Proceed to its configuration parameters on the right.
  3. Make sure that the Data source drop-down menu is set to Variable.
  4. Select a JSON form variable from the Form variable (JSON) field.
    If you don't have any JSON form variables, create them. For more information, see Creating Form Variables.
  5. Enter the path to array containing the dropdown option data in the Path to array in JSON field.
  6. Enter the property identifier into the ID property field. This ios the property used as the internal value for each dropdown option. This value is stored when the option is selected.
  7. Enter the label property into the Label property field. This is the property used as the display value shown to users.
  8. Save the form, using the Save () button from the top bar.

Given the following JSON variable:

{
  "response": {
    "data": {
      "available_cars":
        [
          {
            "car_id": 1,
            "car_name": "Ferrari 458",
            "car_price": "500000"
          },
          {
            "car_id": 2,
            "car_name": "Lamborghini Urus",
            "car_price": "150000"
          }
        ]
    },
    "pagination": {
      "maxItems": 100
    }
  }
}

The configuration would be:

Property Value
Path to Array in JSON response.data.available_cars
ID Property car_id
Label Property car_name

Dropdown widgets support a default JSON structure that does not require additional configuration. For the following JSON variable:

{
  "data": [
    {
      "id": "default-pet-1",
      "name": "Dog"
    },
    {
      "id": "default-pet-2",
      "name": "Cat"
    },
    {
      "id": "default-pet-3",
      "name": "Parrot"
    }
  ]
}

Studio Modeler automatically populates the dropdown without requiring the Path, ID Property, or Label Property settings to be configured manually.