Skip to main content Skip to complementary content

addAlternateState method

app.addAlternateState(qStateName)

Method used to add an alternate state in the app. You can create multiple states within a Qlik Sense app and apply these states to specific objects within the app. Objects in a given state are not affected by user selection in the other states.

Since:
  • 1.1

Parameters

Name Type Description
qStateName String

Alternate state name. This parameter is mandatory.

Returns

A promise of a RPC reply.

Tip noteFor more information regarding a promise, see http://docs.angularjs.org/api/ng.$q.

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!