[]
To create a SQL Server data source in Wyn Enterprise - Resource Portal, follow these steps.
On the Resource Portal, navigate to Create (+) > Create Data Source.
Select SQL Server in the data source list on the left or in the icon view on the right.
Fill in the database configuration information for the selected data source.
Field | Description |
|---|---|
Name* | The name for the data source that you want to specify. |
Server* | A server name or address. |
Port | A port number, the default is 1433. |
User* | A user name to connect to the SQL Server database. |
Password* | A password of the SQL Server user. |
Database* | Enter the database name or click the drop-down to select the database. |
Use Configuration String (Advanced) | Use this option to connect to the data provider through a connection string. The format of the connection string is: |
Use Table/Field Name Mapping | If you check this option, you can either import a CSV file or manually enter the display names for the required tables or fields in the Mapping dialog. In case of the RDBMS databases, you can also import the name mapping information from another database. For more information on mapping table and column names, visit this topic. |
* Required fields
Verify the SQL Server connection by clicking Test Connection. If the data source is available, and the credentials are correct, you receive a notification on successful connection.
Click Create after the connection is successful.
You can view the added data source in the Categories tab of the Resource Portal.
In the Use Configuration String (Advanced) you can add recompile=true, to activate the recompile option in the query. The connection string will be like this: Server=myServerAddress; Database=myDataBase; User ID=myUsername; Password=myPassword;recompile=true;
The Recompile option takes effect only when datasource is used in semantic model (using a shared data source) only. It can improve data loading performance when such models are used in reports. It is supported from Wyn version 7.1 onwards.