Skip to main content Skip to complementary content

getGlobal method

qlik.getGlobal(config)

Method used to open a connection with a web socket to the Qlik engine for global methods.

Since:
  • 1.1

Parameters

Name Type Description
config Object

Optional.

Parameters:

Name Type Description
host String Qlik Sense host
port String Port number
prefix String

Qlik Sense virtual proxy.

/ if no virtual proxy

isSecure Boolean Use SSL
identity String Unique identity for the session. If omitted, the session will be shared.

Returns

A global JavaScript object with global methods.

See: qlik.global

Example

var config = {
	host: "myhost.com",
	prefix: "/",
	port: window.location.port,
	isSecure: true
};
var global = qlik.getGlobal(config);
global.getAuthenticatedUser(function(reply){
	alert('User:'+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!