Versions Compared

Key

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

Make sure you read about the custom This page assumes that you have read about the custom field configuration first.

This type of SIL data source helps you obtain the values which will populate the custom field , using SIL scripts. The purpose of SIL Data Source data source is to bring fast results on results on the screen for your custom fields, writing your own SIL scripts. Data may can come from actual databases (using for instance the sql routine for instance) or from files, legacy systems, etc and so on. The script will bring you the results you need for your custom field.

After you have selected the SIL Data Source, you have to choose select the SIL Script script that you want to use from the list of sil programs.

          


Info
titleImportant

The SIL script receives the query in the argv (i.e. argv["query"]) and must return an the array of KPOption objects (i.e. KPOption []).

See also

You can find out more about using this type of data source from our in the Examples and Option Typetypes pages.