currApp method

Note: 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.

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

Version history

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 information help you?

Thanks for letting us know. Is there anything you'd like to tell us about this topic?

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