Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
Daniel_G
Partner - Creator
Partner - Creator

How to apply filter to a sheet with alternate state through URL parameters?

I am trying to pass url parameters to preselect filters/fields with an alternate state. I just figured out how to set it for default state. Is there also a way how to set it for an alternate state?

In app-integration-api documentation I didn't find anything to set url parmeters for a alternate state. Just following selections which always sets the values to defalt state:

  • select/{field}/{[value1;value2]}

  • http[s]://<machinename | servername>/{virtual proxy}/sense/app/{appid}/sheet/{sheetid}/state/analysis/select/{field}/{value1;value2}
  • http[s]://<machinename | servername>/{virtual proxy}/sense/app/{appid}/sheet/{sheetid}/state/analysis/select/{field}/{value1;value2}/select/{field2}/{value1;value2}
Labels (1)
1 Solution

Accepted Solutions
2 Replies
Or
MVP
MVP

That URL looks absolutely ancient - archived from 2017...

https://help.qlik.com/en-US/sense-developer/February2023/Subsystems/APIs/Content/Sense_ClientAPIs/ap...

Or_0-1681736629966.png

 

 

 

 

Daniel_G
Partner - Creator
Partner - Creator
Author

Thx for new url where it is documented 🙂

Solution is just to use following parameters {state::field}:

Select in the default state

  • select/{field}/{[value1;value2]} or select/{$::field}/{[value1;value2]}

Select in a defined state

  • select/{state::field}/{[value1;value2]}