SIL® Data Source

This page assumes that you have familiarized yourself with the Configuring Power Custom Field® page.

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

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


Important

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

See also

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