On a BOARD cloud environment is there a variable available to identify whether the instance is the S
On BOARD cloud is there a variable available that could identify whether the instance is the Sandbox or Production environment? I would like to use such a variable to control some extracts (via a procedure) from BOARD to the appropriate Azure folder .
I have thought about creating an info cube to store such information but I do not want to maintain this cube each time I refresh Sandbox with Production data.
Answers
-
Hello,
You can use the environment variable %computername% in your paths for export.
For example if you want to extract in z drive on separate folders for production and sandbox just use as a path
z:\%computername%\myfolder\myfile.txt
This way the path will differ if the export is launched by prod or sandbox.
Regards,
Antonio
12 -
4
-
There is a nice discussion about environment variables here you may way to checkout.
How To: Use environment variables in BOARD Procedures - Export, Extract and Datareader actions
1 -
Thanks Bob. I did see this but wanted to see how this would work on Cloud environment. These variables are set up by the Cloud support team when the environment is provisioned. Also if you are using BFC the CONSO folder is mapped to Z drive (Azure storage) as well.
1 -
Hello,
Is there a way to use this variable (%computername%) inside a Layout ? . my goal is to set up a different background in the Mask for production and sandbox capsules to avoid confusion.
Thanks in advance
0 -
i do not think this is possible.
To avoid any confusion you can add a simple label in the home screen. It's easy to put in place and to maintain.
0 -
Thanks Andrea Masiero for your reply
0