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.3K All Categories
- 73 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 110 Rules
- 268 Administration
- 212 Portal
- 496 General Q & A
- 709 Forms
- 343 Reports
- 3 Designer Extensions
- 48 Example Flows
- 57 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 186 Datastructures
- 70 Repository
- 229 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 58 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 143 Lunch And Learn Questions