<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How to set a variable on a sheet via the URL in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-a-variable-on-a-sheet-via-the-URL/m-p/1903170#M16408</link>
    <description>&lt;P&gt;I have a sheet that has a variable and that variable is used when a call is made&amp;nbsp; "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.&lt;/P&gt;
&lt;P&gt;example&lt;/P&gt;
&lt;P&gt;&lt;A href="https://qlikcloud.com/single/?appid={someappid}&amp;amp;sheet={shomesheetID]&amp;amp;theme=card&amp;amp;opt=ctxmenu&amp;amp;select=clearall&amp;amp;vUserContext(userX)&amp;quot;" target="_blank" rel="noopener"&gt;"https://qlikcloud.com/single/?appid={someappid}&amp;amp;sheet={somesheetID]&amp;amp;theme=card&amp;amp;opt=ctxmenu&amp;amp;select=clearall&lt;STRONG&gt;&amp;amp;vUserContext(userX)&lt;/STRONG&gt;"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;where&amp;nbsp;vUserContext is the variable in the sheet and "Userx" is the value for that variable.&lt;/P&gt;
&lt;P&gt;So how do i set it via the URL, what is the syntax&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 09 Mar 2022 17:03:49 GMT</pubDate>
    <dc:creator>pnaik</dc:creator>
    <dc:date>2022-03-09T17:03:49Z</dc:date>
    <item>
      <title>How to set a variable on a sheet via the URL</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-a-variable-on-a-sheet-via-the-URL/m-p/1903170#M16408</link>
      <description>&lt;P&gt;I have a sheet that has a variable and that variable is used when a call is made&amp;nbsp; "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.&lt;/P&gt;
&lt;P&gt;example&lt;/P&gt;
&lt;P&gt;&lt;A href="https://qlikcloud.com/single/?appid={someappid}&amp;amp;sheet={shomesheetID]&amp;amp;theme=card&amp;amp;opt=ctxmenu&amp;amp;select=clearall&amp;amp;vUserContext(userX)&amp;quot;" target="_blank" rel="noopener"&gt;"https://qlikcloud.com/single/?appid={someappid}&amp;amp;sheet={somesheetID]&amp;amp;theme=card&amp;amp;opt=ctxmenu&amp;amp;select=clearall&lt;STRONG&gt;&amp;amp;vUserContext(userX)&lt;/STRONG&gt;"&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;where&amp;nbsp;vUserContext is the variable in the sheet and "Userx" is the value for that variable.&lt;/P&gt;
&lt;P&gt;So how do i set it via the URL, what is the syntax&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Mar 2022 17:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-a-variable-on-a-sheet-via-the-URL/m-p/1903170#M16408</guid>
      <dc:creator>pnaik</dc:creator>
      <dc:date>2022-03-09T17:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to set a variable on a sheet via the URL</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-a-variable-on-a-sheet-via-the-URL/m-p/1911647#M16539</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/168747"&gt;@pnaik&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;&lt;A tabindex="-1" title="https://help.qlik.com/en-us/sense/june2020/subsystems/hub/content/sense_hub/scripting/security/manage-security-with-section-access.htm" href="https://help.qlik.com/en-US/sense/June2020/Subsystems/Hub/Content/Sense_Hub/Scripting/Security/manage-security-with-section-access.htm" target="_blank" rel="noopener noreferrer" aria-label="Link https://help.qlik.com/en-US/sense/June2020/Subsystems/Hub/Content/Sense_Hub/Scripting/Security/manage-security-with-section-access.htm"&gt;https://help.qlik.com/en-US/sense/June2020/Subsystems/Hub/Content/Sense_Hub/Scripting/Security/manage-security-with-section-access.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;BR /&gt;&lt;BR /&gt;Best regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Alexis&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 06:51:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-set-a-variable-on-a-sheet-via-the-URL/m-p/1911647#M16539</guid>
      <dc:creator>Alexis_Touet</dc:creator>
      <dc:date>2022-03-30T06:51:46Z</dc:date>
    </item>
  </channel>
</rss>

