sessionApp method

Note: STABLE.
This API is reliable and breaking changes are unlikely.

qlik.sessionApp(config)

Creates a session app JavaScript object with app methods.

Version history

Introduced Qlik Sense June 2017

Parameters

Name Type Description
config Object

Optional.

Additional configuration parameters:

Name Type Descr
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.

identity String

Optional.

Unique identity for the session. If omitted, the session will be shared.

Returns

An app JavaScript object with app methods.

App API

Example

var sessionApp = qlik.sessionApp();
var config = {
  host: "myhost.com",
  prefix: "/",
  port: window.location.port,
  isSecure: true
};
var sessionApp = qlik.sessionApp(config);

Did this information help you?

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