Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi guys,
is there a possibility to check via an API Call if the script is running on the server environment or on the personal desktop.
I would like to handle my constants and variables via an external .json file and would like to use them dependent on the environment
For instance there are some methods like openApp which requires different input parameters depending on the environment (server or desktop).
Thanks for your help.
Kind regards,
Patric
Yep, see the online help: Is the user working in standalone mode? ‒ Qlik Sense
Hi thanks Gysbert!
I have used the IsPersonalMode() indeed from the global scope class, like follow:
var global = qlik.getGlobal(config);
global.isPersonalMode(function (reply){
isPersonalMode = reply.qReturn;
if(isPersonalMode){
//Do something
}
else
{
//Do something
}
}).then(function(){
//Do something
});
Cheers,
Patric