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:
|
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!