addAlternateState method

STABLE.
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

Introduced 1.1

Parameters

Name Type Description
qStateName String

Alternate state name.

Returns

A promise of a Qlik Associative Engine reply.

Example

app.addAlternateState("X");

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!