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.

JSON API Properties

Configure JSON API


NameDescription
JSON URL

 URL of the JSON API that will be used 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 Headers

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 Data

JSON object name from the specified JSON API to set as the option value. (Default: response.id).


ID Column
Field

ID

from source form

value from the specified JSON API to set as the option value. (

Default:

e.g. response.id).


Label Column
Field ID from source form

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

name

response.value)


Grouping Column
Field ID from source form

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 Mode

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.