Skip to end of banner
Go to start of banner

Data Table Configuration

Skip to end of metadata
Go to start of metadata

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

Compare with Current View Page History

« Previous Version 15 Next »

After the steps from the Configuration page are complete, configure the Data Table Custom Field following the steps below:

  • Access Kepler General Parameters configuration page.
  • The first parameter to configure is the Thread Local Caching:

 

If you are not fully aware of what this implies, it is recommended that you leave the option off.

 

Because multiple calls to get the value of a SIL Script Custom Field for a certain issue are inevitable, we implemented an option to generate the value only once per HTTP request. This can improve performance, but might have some side effects.

For example, if the value is generated before some other values it depends on are modified, the result might not reflect latest updates.

  • Choose from the combo box the desired custom field of type Data Table Information.

  • Choose from the available options for 'Data Source' like in the image below:

  • If Data Source is Database, another 2 parameters are available to be configured: - JNDI name and SQL Query.(Please see the Configuration page for details.)
  • If Data Source is set to SIL, SIL Script is the editor where you should type a script like in the image below:  

Before saving the script, please make sure the syntax is correct. You do that using the "Check" button.

For the example: return 2, {"A", "B", "1", "2"}, You should specify first the number of columns.(2). A and B are the column names and 1, 2 the values  (1 - > A, 2 -> B).

For more examples of SIL scripts, please see the JJupin Documentation.
  •      Save the settings using the "Save configuration" button.
  • No labels