Skip to main content Skip to complementary content

AddSessionAlternateState Method

Overloads

AddSessionAlternateState(String, String)

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

AddSessionAlternateState(String, String)

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

Declaration

      void AddSessionAlternateState([QixName("qStateName")] string stateName, [QixName("qSourceStateName")] string sourceStateName = null)
    

Parameters

Type Name Description
System.String stateName

Name of the alternate state.

System.String sourceStateName

Name of existing state to copy the initial selections from

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!