openApp method

STABLE.
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

Introduced 1.0
Updated 1.1, 2.2

Parameters

Name Type Description
appId String The app id
config Object

Optional.

Additional configuration parameters:

Name Type Descr
host String

Optional

Qlik host.

port

String or integer

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.

Parameter updated in version 2.2.

Returns

App JavaScript object with app methods.

App API

Example

var app = qlik.openApp('2abac31e-3b46-4b78-8bxf-c5cea1d2514d');
var config = {
	host: "myhost.com",
	prefix: "/",
	port: window.location.port,
	isSecure: true
};
var app2 = qlik.openApp('c31e2aba-3b46-4b13-8b87-c5c2514dea1d', config);

Did this information help you?

Can you tell us why it did not help you and how we can improve it?

Thanks for helping us improve!