variable / param in index.html tag to identify environment
Hi guys, is there a good way to add variable or parameter of some kind in an html tag in index.html file to identify which cloud environment we are in? (e.g. test/acceptance/production)? This is so that the client can restrict access to the anonymous pages on the app while the app is still in test/acceptance (dev phase basically). LR.
In the community commons you have a function GetApplicationUrl. With some string manipulation we determine if we are in test, accp, production or working in localhost. From there you can then do anything.