Skip to main content Skip to complementary content

clearAll method

Information noteSTABLE.

This API is reliable and breaking changes are unlikely.

qlik.app.clearAll(lockedAlso, state)

Clears all selections in all fields of the current Qlik Sense app.

Version history

Version history
Version state Details
Introduced 1.0
Updated 2.1

Parameters

lockedAlso

Type: Boolean

Optional. Also clear locked fields.

Default: false

Introduced in version 2.1.

state

Type: String

Optional. Alternate state name.

Default: $

Introduced in version 2.1.

Returns

A promise of a Qlik associative engine reply.

Tip noteFor more information regarding a promise, see The Promise API.

Example

var app = qlik.openApp('2abac31e-3b46-4b78-8bxf-c5cea1d2514d', config);
  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!