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
- 69 General
- 11 Training
- 206 Installation / Setup
- 1.1K Flows
- 108 Rules
- 266 Administration
- 212 Portal
- 495 General Q & A
- 704 Forms
- 335 Reports
- 3 Designer Extensions
- 47 Example Flows
- 56 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 184 Pages
- 5 Process Mining
- New Features
- 181 Datastructures
- 69 Repository
- 227 Integrations
- 28 Multi-Tenant
- 27 SDK
- 81 Modules
- 57 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 112 Lunch And Learn Questions