Skip to main content Skip to complementary content

currApp method

Information noteSTABLE.

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.

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

Version history

Version history
Version state Details
Introduced 1.0
Updated 1.1

Parameters

reference

Type: 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 page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!