currApp method

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

qlik.currApp(reference)

Gets a reference to the current app. Use the currApp method in an extension to get a reference to the app currently displayed.

If no reference is passed, this method will always return the first open app.

Version history

Introduced 1.0
Updated 1.1

Parameters

Name Type Description
reference Object

Optional.

Reference to extension object.

Introduced in version 1.1.

Returns

An App JavaScript object with app methods.

App API

Example

var app = qlik.currApp(this);
	app.clearAll();

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!