You can easily create a database connection in Canvas Studio with viable and feasible configurations. To serve the purpose of establishing a connection with your schema, a database connection is created to facilitate the process of fetching the data from the schema. To create a database connection and DB data source, refer the following sections:
Tip |
---|
A brief overview on creating a database connection in Canvas Studio is provided as follows:
|
...
Anchor | ||||
---|---|---|---|---|
|
You can easily create a DB data source in Canvas Studio with viable and feasible configurations. Data sources serve as the vital cog in facilitating the process of fetching the data from the various listed tables, present in the database.
Tip |
---|
A brief overview on creating a DB data source in Canvas Studio is provided as follows:
|
The step-by-step procedure to create a DB data source in Canvas Studio is listed as follows:
- In Canvas Studio, click Connections on the left pane.
The existing connections are listed in the Connections and Data Sources on the right pane. - Right-click the connection and select Create Data Source.
The Create New Data Source page appears. In the Create Data Source page, enter a unique data source name in the Data Source Name field, e.g. ACCOUNT SUMMARY DS.
Note The Is SQL? toggle is an optional field. This field is used to facilitate the purpose of using SQL statements.
Click the Object Name lookup field and select the table, view, or stored procedure name from which you need to fetch the data.
Note Stored procedures are enabled for reports only and are yet to be enabled in App Designer. The input parameters for stored procedure can be passed during the configuration of the base report in Canvas Studio and the values can be altered in Sigma screen as well. Refer Creating a Data Source using Stored Procedure for more information on creating a datasource using stored procedure.
Click the Column IDs field and select the columns to be fetched.
Tip To quickly select all the columns for the report, click the Select All () icon. To remove all the selected columns, click the Remove All () icon. To select specific columns, select the checkbox adjacent to the column names as shown in the following screen shot:
Note The Where Clause and Order By fields are optional.
- Click Save.
A confirmation message, indicating a successful save, appears. - Click Ok.