Generating a data source

A quick way for creating a data source is by auto-generating it from a database table or a view. Here, we don't provide the table name while generating the data source. Instead, we fetch the required data by defining pre-queries and post queries.

2. Under the required role group, click Manage Datasources.

The Manage DataSources page with the list of datasources is displayed.

3. In the upper right corner of the Manage Datasources page, click Generate Datasource.

The Generate Datasource window is displayed.

4. In SQL Query or Table Name, enter the API name without the environment URL or paste the data in JSON format.

Sample JSON:

{
 "Employee": {
 "FirstName": "Sriaknth",
 "LastName": "A"
 }
}

Note

This field must be left blank if the data source is being generated using a database object.

Enter the value in this field only if the data source is being generated using a live connector.

5. Define the datasource details:

6. Click Generate.

The datasource is generated. You can further edit and define details from the Manage Datasources page.

Last updated