Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Panel
borderColorpurple
bgColorwhite
borderWidth1
titleBGColor#ddccff
borderStylesolid
titleNew 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.

...

NameDescription
JSON URL

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

Tip
titleTip

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

HTTP Request HeadersAdd 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 DataJSON object name from the specified JSON API to set as the option value. (Default: response.id).Name 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.

Info

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.