Skip to main content Skip to complementary content

AddSessionAlternateState method

Adds an session 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 selections in the other states. A session alternate state is not persisted and is not included in the StateNames array in the AppLayout. You can use the optional second parameter to choose any other state to get the initial selection on the new state from

Parameters

Name Description Mandatory Type
qStateName

Name of the alternate state.

Yes String
qSourceStateName

Name of existing state to copy the initial selections from

No String

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!