You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

New Feature

This is a new feature in Joget DX 8.


Introduction

JSON API allows one to populate selections from JSON call to form elements that make use of the Form Options Binder.

JSON API Properties

Configure JSON API


NameDescription
JSON URL

 URL of the JSON API that will be called in this Form Element. You can find all the JSON URLs usable in Joget here.

Tip

Use the hash variable #dv# to inject the dependent field's current value. URL will be like "http://yourURL?queryname=#dv#"

Call Type
  • GET
  • POST
  • PUT
  • DELETE
Request Headers

Add name(s) and value(s) to the request header

FieldDescription
NameName (or Type ) of the Request Header 
ValueLink or Value of the Request Header
Passover Current Request CookiesWhen checked, Current Request Cookies will be passed to --.
Base JSON Object Name for Multirow DataName of the object that contains an array to be based on.
ID Column

ID value from the specified JSON API to set as the option value. (e.g. response.id).


Label Column

Label value from the specified JSON API to set as option label. (e.g. response.value)


Grouping Column

Grouping value from the specified JSON API to set as option grouping value. (e.g. response.value)


Use AJAX for cascade options?

When checked, this allows these fields to dynamically load available options based on the other field value (grouping column) when dealing with a tremendous amount of selections. Read more at Ajax Cascading Drop-Down List.

Not applicable to Form Binder. Only available when used as an Options Binder.

Add Empty OptionEmpty option label. Only in use when Add Empty Option is checked.
Debug ModeShow relevant debug entries in the server log for debugging purposes.

Form Options Caching

NameDescription
Sync Cache Interval

How often to activate cache synchronization (in seconds).

For example, when set to 180 seconds, background synchronization in the server will take place every 180 seconds to refresh with the new/latest data.

Pause sync after idle

How long to wait to pause synchronization after idle.

  • No labels