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

Compare with Current View Page History

« Previous Version 13 Next »

This class may be used to perform query searches in tables specified by their IDs. Use the SimpleSearch methods in your server-side scripts.

search(text, tableIDs)


This method performs a search query (specified in the text argument) on tables (specified with the tablesIDs argument). The tableIDs argument is an array of the sys_id type.


Parameter(s):

NameTypeMandatoryDefault Value
textStringYN
tableIDsArrayYN


Return:

TypeDescription
ArrayThis method returns an array of records of the SimpleRecord type.

Example:

search
var searchManager = new SimpleSearch();
searchManager.search('some text', ['155931135900000007', '155931135900000002', '156846521901231916']);

  • No labels