Global Variables for different environments in v9
I have a project that needs to use different things based on the environment it is in such as different database connection strings. In v9, these items get checked into the Repo with the project. How can we set things up so that we can keep our variables for each environment straight?
Comments
-
A solution for this would be to create a project to hold any project constants you need.
https://documentation.decisions.com/docs/project-constants
In the Repo, make different branches for the project to save the different constants for each environment.
https://documentation.decisions.com/docs/repository-branches#creating-a-branch
Make the Project Constants project a dependency of the project(s) that will be using them. This will allow you to use them in the main project(s) with the correct variables depending on the environment you are in.
https://documentation.decisions.com/docs/project-dependencies
Howdy, Stranger!
Categories
- 4.2K All Categories
- 68 General
- 11 Training
- 203 Installation / Setup
- 1.1K Flows
- 108 Rules
- 262 Administration
- 212 Portal
- 494 General Q & A
- 699 Forms
- 334 Reports
- 3 Designer Extensions
- 47 Example Flows
- 53 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 180 Pages
- 5 Process Mining
- New Features
- 180 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 80 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 92 Lunch And Learn Questions