Using HTTP data
If you need properties from your HTTP response object, you can do this blabla
Lets assume that we want a simple form with a dropdown populated by our webAPI. And we want to display some extra information about our selected item. Just add a dropdown field and an text/information field. First we setup the dropdown with dynamic content:
Your HTTP response object
Lets assume that your HTTP request will deliver this JSON result:
Now you can access the property myProperty and use it in our textfield. Select your text/information field, go to the content tab and press the Select HTTP field button. In the prompt field, write myProperty and press Ok. That`s it. If you view your form you`ll see that this value will be replaced with the value in your HTTP response!
If you use HTTP to populate a list or radio buttons, like in this example, you can also use the current dataset as source. If we want to display the body text in our html/info field, simply press the Select HTTP field button and write:
The [*].data tells Peggy Pay that we want to access the dataset. From there you can enter the path to your property. In our case, it is [*].data.body.