Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
Table of Contents |
---|
English | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
JSON API for Loading to Lists List Data Store allows one to populate a List using JSON calls.
Panel | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||
New feature in Joget DX version 8.1 onwards.
Figure 1 : Auto Handling Filters and Disable object keys as column in Joget DX version 8.1 onwards. Change 1: New property |
Figure 1: Configure JSON API
Name | Description | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
JSON URL | URL to be called. Mandatory Field. | |||||||||||||||
Call Type |
| |||||||||||||||
| ||||||||||||||||
Call Type |
| Request Headers | Add name(s) and value(s) to the request header | |||||||||||||
Field | Description | |||||||||||||||
Name | Name (or Type ) of the Request Header | Value | Link or Value of the Request Header||||||||||||||
Body Type (Only Applicable to Call type = POST or PUT) | Select the POST or PUT method:
| |||||||||||||||
Request Headers | Add name(s) and value(s) to the request header
| |||||||||||||||
Passover Current Request Cookies | When checked, Current Request Cookies will be passed to the server with the request. | |||||||||||||||
Base JSON Object Name for Multirow Data | Name of the base JSON object (e.g. data). | |||||||||||||||
Total Record Count JSON Object Name | Total number of records in the JSON object (e.g. data.total) | |||||||||||||||
Primary Key | Unique Identifier of the JSON object (e.g. data.id). Mandatory Field. | |||||||||||||||
Auto Handling Full Results Paging & Sorting | When checked, This option enables automatic sorting for the results returned through the JSON URL.
| |||||||||||||||
Debug Mode | Show relevant debug entries in the server log for debugging purposes. | |||||||||||||||
Sample Response (for Retrieve Columns) | Enter a Sample Response of how the JSON object is formatted.
e.g.
|
Figure 2: Download the demo app below to view how JSON API is used to populate a list.