Creating a JavaScript data source

Create a JavaScript data source to collect data from a web service as a data source and process it in the form of relational tables.

About this task

To create a JavaScript data source, perform the following steps:

Procedure

  1. In the Repositories view, on the Data Sources tab, click Create a Data Source. The Create New Data Source wizard opens.
  2. In the wizard, select JavaScript and click Next.
  3. Enter a name for the data source in the Data Source Name field.
  4. In the Connection Parameters area:
    1. In the URL field, enter the URL of the web resource to that you want to connect and get data.
    2. Select the User ID and password are required check box to request user information each time when the web resource is accessed. If the web resource does not require logon information, leave the check box clear.
    3. Select the Allow users to save password check box if you want to allow the application to remember the password for the entered user ID.
  5. Click Next. On the JavaScript Parameters page of the wizard, specify the global parameters for the data source. You can easily modify these parameters if you need to connect to other web resource or with other user credentials.
    1. Click Add Parameter, enter the parameter name and value in the corresponding columns.
    2. To delete parameters from the data source, select them and click Remove Parameter.
  6. Click Finish.