Skip to main content Skip to complementary content

addAlternateState method

Information noteSTABLE.

This API is reliable and breaking changes are unlikely.

qlik.app.addAlternateState(qStateName)

Adds an alternate state in the app. Multiple states within a Qlik Sense app can be created and applied to specific objects within the app. Objects in a given state are not affected by user selection in the other states.

Version history

Version history
Version state Details
Introduced 1.1

Parameters

qStateName

Type: String

Alternate state name.

Returns

A promise of a Qlik associative engine reply.

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

Example

app.addAlternateState("X");

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!