...
Create a configuration project within each environment (devDev, stageStage, prodProd)Create a schema called settings name doesn’t matter - .
Open your Engage project.
Under Develop > Schema and create a new Schema and a name for it. In this example, we will name it “settings.” We will set it as a dynamic data with one field field.
Data - > settings> create a content block called settings
You can add as many key values here as you want
The key is very important - we need to keep the same key across all environments
To use it, in Expd:
Inject > after 0.1 >
Function node > Set Model > set the key to the schema key
Dynamic data node > program into the settings
Make sure the content name is the same
Add a debug to make sure it works
Write the function > Set to Global context > we recommend only one settings content so that it will only return one
Now we can use it whenever we need to
Now we can test to see if it is working
If you change the settings, it will only display if you deploy the global context again
We do this in the engage project or in any projects because then it will move