openApp method
This API is reliable and breaking changes are unlikely.
qlik.openApp(appId, config)
Opens a Qlik Sense app. You can open multiple apps. Most other methods are defined on the app.
Version history
Version state | Details |
---|---|
Introduced | 1.0 |
Updated | 1.1, 2.2 |
Parameters
appId
Type: String
The app ID.
config
Type: Object
Parameter updated in version 2.2.
Optional.
Additional configuration parameters:
Name | Type | Description |
---|---|---|
host | String |
Optional. Qlik host. |
port |
String or integer |
Optional. Port number. |
prefix | String |
Optional. Qlik virtual proxy. "/" if no proxy. |
isSecure | Boolean |
Optional. Use SSL. |
openWithoutData | Boolean |
Optional. Open app without loading data. Introduced in version 1.1. |
identity | String |
Optional. Unique identity for the session. If omitted, the session will be shared. |
webIntegrationId | String |
Optional. Unique identifier for the web integration. Applicable to Qlik Sense SaaS Enterprise. |
Returns
App JavaScript object with app methods.
Example
var app = qlik.openApp('2abac31e-3b46-4b78-8bxf-c5cea1d2514d', config);
var config = {
host: 'QSE_domain',
prefix: '/',
port: 443,
isSecure: true
};
var app2 = qlik.openApp('c31e2aba-3b46-4b13-8b87-c5c2514dea1d', config);