Modules in JavaScript data sources

The following topics include reference information about preset and user modules in JavaScript data sources.

Users can work with the following preset modules in JavaScript data sources:
  • Authenticate can contain the script for connecting to a web service and authorizing at it.
  • Common Functions can contain the common script with global functions that you want to use in other modules. For example, functions for getting data from a web service or caching.
  • Disconnect can contain the script for disconnecting from a web service and logging out from it.

Users can also create additional modules to expand the functionality of a JavaScript data source according to their needs.

The preset and user modules are always initialized in the following order:
  1. Common Functions module
  2. User modules
  3. Authenticate module
  4. Load Data modules of the JavaScript tables that are stored in the data source. Load Data modules are used to process the data from a network resource in a relational table.
  5. Disconnect module