Skip to main content Skip to complementary content

AddSessionAlternateStateAsync Method

Overloads

AddSessionAlternateStateAsync(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

AddSessionAlternateStateAsync(AsyncHandle, 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

AddSessionAlternateStateAsync(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

      public Task AddSessionAlternateStateAsync([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

Returns

Type Description
System.Threading.Tasks.Task

Implements

AddSessionAlternateStateAsync(AsyncHandle, 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

      public Task AddSessionAlternateStateAsync(AsyncHandle asyncHandle, [QixName("qStateName")] string stateName, [QixName("qSourceStateName")] string sourceStateName = null)
    

Parameters

Type Name Description
AsyncHandle asyncHandle

Handle to asynchronous method request

System.String stateName

Name of the alternate state.

System.String sourceStateName

Name of existing state to copy the initial selections from

Returns

Type Description
System.Threading.Tasks.Task

Implements

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!