Skip to main content
Script-based selections give you the possibilities above the standard selection functionality. You may for instance use a SearchEngine to populate your search results.

The structure of a script-based selection

When you create a new selection you need to choose a Source Table. The IDs returned from the method getIds are assumed to be of this table. When you have chosen the Source Table and pressed Continue, the next screen displays the bare-bone of the selection.
The script consists of 2 functions: execute and getIds. Place your search engine code in the execute function, and the code to retrieve the IDs in the getIds function.

Example

A selection may be accessed using an URL in the form of: domain/scripts/ticket.exe?action=searchTable&table=<person>&selectionIncludeId=<incId> Replace <person> and <incId> with the table in question and the includeId of the selection.