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

Returns

"result": {}