in Version 3.2 I can get the Environment Description if i use getEnviroment() but in 4.2 instead of the description I get the Environment ID.
example:
var environment = parent.Portal.config.Runtime.getEnvironment();
console.log(environment);
In 3.2 the above line gives me the name "Herr's Web Development Portal", but in 4.2 I get 1001 which is the Environment id?
How can i get the Environment description in 4.2?
example:
var environment = parent.Portal.config.Runtime.getEnvironment();
console.log(environment);
In 3.2 the above line gives me the name "Herr's Web Development Portal", but in 4.2 I get 1001 which is the Environment id?
How can i get the Environment description in 4.2?
Comment