JavaScript Configuration

Configure these options to control cross-domain access from other domains that host Web pages containing the Luminate Online Open API JavaScript class library. You can grant different levels of access, basic or trusted, to different domains.

  • Allow JavaScript API from these domains -- Add external domains that need basic access. The domains can create constituents (but not update) and retrieve public data. Separate multiple domains by comma. Wildcards are allowed (e.g. *.blackbaud.com).

  • Trust JavaScript API from these domains -- Add external domains that need trusted access. Scripts hosted from these domains can retrieve an authorization token to use with Luminate Online APIs. Trusted domains can retrieve personal information about constituents and update constituent data.

  • Minify JavaScript files -- Set to TRUE (recommended and default) to minify the Luminate Online API JavaScript files when they generate. Minified versions load faster and improve overall experience. The only reason to not minify the files is so you can run JavaScript using a debugger.

These settings apply only to JavaScript to Luminate Online Client REST APIs. They do not apply to Server REST APIs or to Luminate Online Web Services (SOAP).

Access JavaScript configuration

  1. Access the Open API Configuration.

  2. For Configure Javascript access to Open APIs, click Edit Javascript Configuration.

  3. In Allow JavaScript API from these domains, enter domains separated by commas.

    Note: You can use wildcards as a domain name. For example, *.blackbaud.com

  1.  In Trust JavaScript API from these domains, enter the domains separated by commas.

  2. In Minify JavaScript files, select Set Minify Javascript files to TRUE. This is recommended because they load faster.

  3. Click Finish.