You can use the API Call Query to trigger an API call automatically as soon as the page or widget is loaded. This is helpful if you want to retrieve the data from an API call and display it on a page or widget. For example, showing a list of items in a ListView, showing users details on several Text widgets.
Select the Source as the parameter name you defined earlier on this page.
From the Available Options dropdown, choose JSON Path.
Enter the JSON Path name.
(Optional) You can enter a Default value that would be used if the path value is empty.
You can also follow Steps 1 to 7 for setting values on other widgets.
Defining the values on the new page
The app in action will look like this:
In this demo app, the first page (NASA Exploration) contains the NASA Open API response data retrieved from a Backend Query. It is then passed on to a new screen (Details) using a Navigate action, where the data is set to the respective widgets.