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
-
In the Repositories view, on the Data Sources
tab, click Create a Data Source. The Create New Data
Source wizard opens.
-
In the wizard, select JavaScript and click
Next.
-
Enter a name for the data source in the Data Source Name field.
- In the Connection
Parameters area:
- In the URL field, enter the URL
of the web resource to that you want to connect and get data.
- 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.
- 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.
-
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.
-
Click Add Parameter, enter the
parameter name and value in the corresponding columns.
-
To delete parameters from the data source, select them and click Remove
Parameter.
- Click Finish.