isPersonalMode method
global.isPersonalMode(callback)
Method used to get 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).
- Since:
-
- 1.1
Parameters
Name | Type | Description |
---|---|---|
callback | Function |
Optional. Callback method. |
Returns
A promise.
Tip noteFor more information regarding a promise, see http://docs.angularjs.org/api/ng.$q.
Example
var global = qlik.getGlobal(config);
global.isPersonalMode(function(reply){
alert('Personal mode:'+reply.qReturn);
});
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!