Links

useGlobal

Usage

Use the hook inputting the config used in the Motor component
const {
global,
docList,
engineVersion,
oSName,
oSVersion,
} = useGlobal({
//Enter your app config here..
host: "myqliksite.eu.qlikcloud.com", // Qlik Sense Host
secure: true, // Whether your host is secure of not (HTTPS / HTTP)
port: null, // Qlik Sense site port
prefix: "", // Prefix
appId: "....", // Application Id
webIntId: "...", // Web Integration Id, for connection to Qlik cloud
qcs: true, // whether you are connecting to a Qlik Cloud site or not
});

useGlobal Options

  • config: <object>
    • host: Qlik Sense Host
    • secure: Whether your host is secure of not (HTTPS / HTTP)
    • port: Qlik Sense site port
    • prefix: Prefix for virtual proxy
    • appId: Application Id
    • webIntId: Web Integration Id, for connection to Qlik cloud
    • qcs: Whether you are connecting to a Qlik Cloud site or not

Global Properties

The following properties are returned from the hook
  • global: <object>
    • This is the global object retunred when opeing a new session
  • docList: <array>
    • An array of documents available on the server
  • engineVersion: <string>
    • Version number of the Qlik Sense engine connected to.
  • osName: <string>
    • Name of the operating system on which the Qlik Sense server is running.
  • osVersion: <string>
    • Version of the Operating System on which the Qlik Sense Server is running.
Last modified 2yr ago