Script Types

Script Type

Description

ClientQuery

A script intended to be run on the client and return a data array. Returns two objects: a Type.eventInfo object and a data array. Typically used to fetch data, possibly from multiple sources, and perform client-side processing on the data before returning a data array.

ClientScript

A script intended to be run on the client. Returns only a Type.eventInfo object.

Library

A script containing helper functions that can be called from other client-side scripts and that can be pre-loaded by an application at the client using $$.include().

Business Object

A script that implements business rules that can be run on at the client or on the server and can be called via the REST API.

Object

Returns only an eventInfo object.

ServerQuery

A script intended to be run on the server and return a data array. Code can only contain references to server-side SDK libraries. Returns two objects: a Type.eventInfo object and a data array.

ServerScript

A script intended to be run on the server. Code can only contain references to server-side SDK libraries. Returns only a Type.eventInfo object

Last updated