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
- 67 General
- 11 Training
- 202 Installation / Setup
- 1.1K Flows
- 106 Rules
- 262 Administration
- 212 Portal
- 490 General Q & A
- 695 Forms
- 333 Reports
- 3 Designer Extensions
- 47 Example Flows
- 52 CSS Examples
- 1 Diagram Tile
- 7 Javascript Controls
- 179 Pages
- 5 Process Mining
- New Features
- 179 Datastructures
- 69 Repository
- 221 Integrations
- 28 Multi-Tenant
- 27 SDK
- 78 Modules
- 56 Settings
- 25 Active Directory
- 12 Version 7
- 35 Version 8
- 83 Lunch And Learn Questions