isPersonalMode method

Note: STABLE.
This API is reliable and breaking changes are unlikely.

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

Introduced 1.1

Parameters

Name Type Description
callback Function

Optional.

Callback method.

Returns

A promise of a Qlik Associative Engine reply.

Tip: For more information regarding a promise, see https://code.angularjs.org/1.6.9/docs/api/ng/service/$q#the-promise-api.

Example

var global = qlik.getGlobal(config);
	global.isPersonalMode(function(reply){
		alert('Personal mode:'+reply.qReturn);
	});

Did this information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

Can you tell us why it did not help you and how we can improve it?