Skip to main content

Integration, Extension & APIs

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

Announcements
Welcome to Qlik Community! Check out our new navigation! FIND OUT MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
pnaik
Contributor
Contributor

How to set a variable on a sheet via the URL

I have a sheet that has a variable and that variable is used when a call is made  "REST API Connector" to load data. This variable differs base on who his logged into my app. The report is the same but data will be different based on the user.

example

"https://qlikcloud.com/single/?appid={someappid}&sheet={somesheetID]&theme=card&opt=ctxmenu&select=c...

where vUserContext is the variable in the sheet and "Userx" is the value for that variable.

So how do i set it via the URL, what is the syntax

 

Labels (5)
1 Solution

Accepted Solutions
Alexis_Touet
Support
Support

Hi @pnaik 

This is not possible to control the variable value through a URL parameter. For your use case, the best solution would be to use section access if you want to have different users see different data.

https://help.qlik.com/en-US/sense/June2020/Subsystems/Hub/Content/Sense_Hub/Scripting/Security/manag...

 

Hope this helps.

Best regards, 

Alexis

Please don't forget to mark a correct resolution or answer to your problem or question as correct, as it will help other members to find solutions more easily 😉

View solution in original post

1 Reply
Alexis_Touet
Support
Support

Hi @pnaik 

This is not possible to control the variable value through a URL parameter. For your use case, the best solution would be to use section access if you want to have different users see different data.

https://help.qlik.com/en-US/sense/June2020/Subsystems/Hub/Content/Sense_Hub/Scripting/Security/manag...

 

Hope this helps.

Best regards, 

Alexis

Please don't forget to mark a correct resolution or answer to your problem or question as correct, as it will help other members to find solutions more easily 😉