How to configure database connection via environment variables?

Question

How to configure database connection via environment variables?

 

Answer

To configure the environment variable, please open the project properties:

Open the Environment variables tab and select new:

Press the "Set Up Connection..." and follow the configuration steps.
After the connection string is configured, please name it and save it:

As the next step open the document definition and its properties -> Data Sets -> select the needed data set -> Set Up...:

Choose the connection string from the list:

Apply the changes, update the data set and publish the document definition. The database configuration via environment variables is finished.

Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.