isPersonalMode method
Information noteSTABLE.
This API is reliable and breaking changes are unlikely.
This API is reliable and breaking changes are unlikely.
Information noteThis functionality is not available in Qlik Sense SaaS.
qlik.global.isPersonalMode(callback)
Gets information if the user is working in personal mode (returns true if Qlik Sense Desktop is used) or not (returns false if Qlik Sense Desktop is not used).
Version history
Version state | Details |
---|---|
Introduced | 1.1 |
Parameters
callback
Type: Function
Optional.
Callback method. Registers a callback that is executed every time data is returned.
Returns
A promise of a Qlik associative engine reply.
Tip noteFor more information regarding a promise, see The Promise API.
Example
var global = qlik.getGlobal(config);
global.isPersonalMode(function(reply){
alert('Personal mode:'+reply.qReturn);
});