Manually mapping a callback payload
To manually map a callback payload
Create your form.
Select the appropriate callback as the data initializer callback or action for a button, etc.
Click Add mapping in the appropriate mapping section - request or response.
Select the form model element (a UI element or an input parameter) from the Model dropdown, and the callback payload data item you want to map it to from the Callback dropdown.
Note
Model and Callback dropdown list entry data types must match, or you cannot select the dropdown list entry.Repeat step 3 for all desired mappings.
In this section
- Complex mapping scenarios
- Scenario 1: Both left and right properties are single values
- Scenario 2: Both left and right properties are arrays
- Scenario 3: Both left and right properties are arrays
- Scenario 4: Both left and right properties are array properties
- Scenario 4.1: Left property is a primitive or an object at root level, and right property is an array property
- Scenario 5: Left property is an array and right properties is a single value
- Scenario 6: Left property is an array property and right properties is a single value