Qlik Community

Qlik Sense Integration, Extensions, & APIs

Discussion board where members can learn more about Integration, Extensions and API’s for Qlik Sense.

jena-savvy007
New Contributor

Create an Alternate State via Qlik Engine JSON Api

Hi Community,

I'm trying to create an Alternate State via Qlik Engine JSON API. I'm using the AddAlternateState method from the Doc Class. When I use it, the Alternate State is created correctly, but when I close the socket connection to the engine, it dissapears. My intention is to create an Alternate State persistently, the same way I can create it via the web interface at Master Items.

It occurs the same when I try to remove an Alternate State created via the web interface, using the RemoveAlternateState method. I can remove it, but when I close the connection to the Engine, it appears again.

Is there any way to create them and remove them persistently?

Thank you very much for your help.

Labels (2)
1 Solution

Accepted Solutions
Highlighted
erik_wetterberg
Honored Contributor

Re: Create an Alternate State via Qlik Engine JSON Api

Hi,

if this is in Qlik Sense desktop you need to save the app.

Erik Wetterberg
https://extendingqlik.upper88.com/
2 Replies
Highlighted
erik_wetterberg
Honored Contributor

Re: Create an Alternate State via Qlik Engine JSON Api

Hi,

if this is in Qlik Sense desktop you need to save the app.

Erik Wetterberg
https://extendingqlik.upper88.com/
jena-savvy007
New Contributor

Re: Create an Alternate State via Qlik Engine JSON Api

Hi, thank you for your answer.

It was Qlik Enterprise, but adding a DoSave solved my issue.

Thank you very much.

Community Browser