Environment variables
First, we want to take a look at EnvVars. In this section, we will learn what EnvVars are, the different types we have at hand, how to create them, as well as how to use them.
EnvVars are a way of using different values depending on the environment the application is running in without the need to change the implementation in every environment or add if
statements. This could, for example, be the email address of a recipient or the ID to a queue that is needed in a cloud flow.
Dataverse contains two tables for implementing EnvVars. One is EnvVar Definition and the other is EnvVar Value. Every definition has one value.
The following figure illustrates the table structures.
Figure 6.1: EnvVars table structure
The definition contains everything to specify what an EnvVar looks like. This is the schema name, display name, description, data type, and default value.
The value represents the current value of the EnvVar in a certain...