This element offers you the possibility to integrate data from an JSON feed into your project and then display information from it in your app. You can choose whether you want to retrieve a feed from the Internet or whether it should be stored locally in the project.
After adding an JSON feed to your screen, you will find this item in the Outline in the Objects folder.
To show the properties of the JSON feed, click the Properties tab (the slider icon) in the upper right sidebar.
Here you give the element a name. This name is only used within appdoo. For example, you can quickly see in the outline where each JSON feed is located. You can also edit the name by double-clicking on the JSON feed in the outline. We recommend that you assign unique names when working with Data Links.
Here you can choose whether you want to load a feed directly from your appdoo project (local) or a feed from the Internet (remote).
Select this option if you want to load an JSON feed directly from the project.
If you have selected the option “local” from the selectbox, a multiline input field is displayed below the selectbox. Here you enter the source code of the JSON feed.
- Load From File …
If you prefer to edit the source code of your JSON feed in an external text editor, this is of course no problem. Click on the button “Load From File …” and import the content of the JSON feed file.
- Load From File …
Select this option if you want to load an JSON feed from the Internet.
If you have selected the option “remote” from the selectbox, a multiline input field “URL” is displayed below the selectbox. Here you enter the URL of the CSJSONV feed. Make sure that the URL always starts with “http://” or “https://”.
Click on this button to retrieve the JSON feed from the Internet again.
List of Elements & Data Sources
After your JSON feed has loaded, the contents of the feed will be available to you as new elements in the list of elements.
These elements are based on the standard elements, but have pre-configured Data Sources to display the corresponding content from the feed. You can add and position these elements to your work space as usual.
The following property of the element can be set using the data links:
All information about this area can be found on the separate Data Links page.