Bean Shell Options Data Store

The Bean Shell Options Data Store enables one to populate a form element's options based on specific requirements and data sources using Bean Shell scripting. This can be particularly useful for creating dynamic, custom dropdowns or other selection elements in Joget.

Bean Shell Form Data Store can also be a Load and Store Data Store.

Configure BeanShell

Configuring the Bean Shell involves writing scripts in Java to define the behavior and data retrieval for form elements. This allows for a dynamic and flexible data population based on specific needs.

Fields to Configure:

Form Options Caching

Caching options allow you to manage how often the Bean Shell Options Data Store are refreshed, which can significantly improve performance in environments with large datasets.

Fields to Configure:

  • Sync Cache Interval: Duration in seconds for cache synchronization activation.
    For example, with a setting of 180 seconds, background synchronization on the server occurs every 180 seconds to update with the latest data.
  • Pause Sync after Idle: Duration to wait before pausing synchronization after idle.
For large user datasets, increase Pause sync after idle for continuous cache updates. If dropdown selections are unlikely to change rapidly, set a longer Sync Cache Interval to avoid frequent cache updates.
Created by Julieth Last modified by Aadrian on Dec 19, 2024