SIL Data Source
Description
This type of 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.
For this type of data source it is very helpful the sql routine Data may come from actual databases (using for instance the sql routine) or from files, legacy systems, etc . 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 the SIL Script that you want to use from the list of silprograms sil programs .
The SIL script receives the query in the argv (i.e. argv[
"query"
])
and must return an array of KPOption
objects.
You can find out more about using this type of data source from our Examples and Option Type pages.
...