useGlobal
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
});
config: <object>
host
: Qlik Sense Hostsecure
: Whether your host is secure of not (HTTPS / HTTP)port
: Qlik Sense site portprefix
: Prefix for virtual proxyappId
: Application IdwebIntId
: Web Integration Id, for connection to Qlik cloudqcs
: Whether you are connecting to a Qlik Cloud site or not
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