<?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 Re: How to read and write variables from external file? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-read-and-write-variables-from-external-file/m-p/1909051#M1244223</link>
    <description>&lt;P&gt;Writing to the file system from QlikView Server UI is challenging.&amp;nbsp; In QV Desktop you can use a macro attached to a button. Not sure if you could do that from a QV Server app. It's been a while since I've worked with QV Server.&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
    <pubDate>Wed, 23 Mar 2022 21:43:48 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2022-03-23T21:43:48Z</dc:date>
    <item>
      <title>How to read and write variables from external file?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-read-and-write-variables-from-external-file/m-p/1908859#M1244205</link>
      <description>&lt;P&gt;I have a qlikview application with a few sliders to control variable values.&lt;/P&gt;
&lt;P&gt;How do I make my sliders read/write the variable values from/to an external file?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-read-and-write-variables-from-external-file/m-p/1908859#M1244205</guid>
      <dc:creator>stallfelipe</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to read and write variables from external file?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-read-and-write-variables-from-external-file/m-p/1908918#M1244209</link>
      <description>&lt;P class="p1"&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;// First load the variables from an external source, in this example, an xls file.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Variables:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s2"&gt;LOAD&lt;/SPAN&gt; &lt;SPAN class="s3"&gt;Varname&lt;/SPAN&gt;,&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN class="s3"&gt;Varvalue&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s2"&gt;FROM&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Variables_Input.xls&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;(&lt;SPAN class="s2"&gt;biff&lt;/SPAN&gt;, &lt;SPAN class="s2"&gt;embedded&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;labels&lt;/SPAN&gt;, &lt;SPAN class="s2"&gt;table&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;is&lt;/SPAN&gt; MyVars1$)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;// Process each row of the Variables table&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s2"&gt;FOR&lt;/SPAN&gt; i = 0 &lt;SPAN class="s2"&gt;to&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;NoOfRows&lt;/SPAN&gt;('Variables')-1&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s2"&gt;LET&lt;/SPAN&gt; vVarname = &lt;SPAN class="s2"&gt;peek&lt;/SPAN&gt;('Varname',&lt;SPAN class="s4"&gt;&lt;I&gt;$(i)&lt;/I&gt;&lt;/SPAN&gt;,'Variables');&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s2"&gt;LET&lt;/SPAN&gt; &lt;SPAN class="s4"&gt;&lt;I&gt;$(vVarname)&lt;/I&gt;&lt;/SPAN&gt;=&lt;SPAN class="s2"&gt;peek&lt;/SPAN&gt;('Varvalue',&lt;SPAN class="s4"&gt;&lt;I&gt;$(i)&lt;/I&gt;&lt;/SPAN&gt;,'Variables');&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s2"&gt;NEXT&lt;/SPAN&gt; i&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s1"&gt;// Clean up temp script vars&lt;/SPAN&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s2"&gt;SET&lt;/SPAN&gt; i=;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s2"&gt;SET&lt;/SPAN&gt; vVarname=;&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN class="s2"&gt;DROP&lt;/SPAN&gt; &lt;SPAN class="s2"&gt;TABLE&lt;/SPAN&gt; Variables; &lt;SPAN class="s1"&gt;// No longer need table&lt;SPAN class="Apple-converted-space"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;
&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;-Rob&lt;BR /&gt;&lt;A href="http://www.easyqlik.com" target="_blank"&gt;http://www.easyqlik.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://masterssummit.com" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://qlikviewcookbook.com" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 16:27:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-read-and-write-variables-from-external-file/m-p/1908918#M1244209</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2022-03-23T16:27:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to read and write variables from external file?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-read-and-write-variables-from-external-file/m-p/1908929#M1244212</link>
      <description>&lt;P&gt;Thanks for the reply,&amp;nbsp;&lt;A id="link_12" class="lia-link-navigation lia-page-link lia-user-name-link" href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6148" target="_self" aria-label="View Profile of rwunderlich" aria-describedby="userProfileCard-6148"&gt;&lt;SPAN class="login-bold"&gt;Rwunderlich&lt;/SPAN&gt;&lt;/A&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;How about writing back to the external file?&lt;/P&gt;
&lt;P&gt;I was looking for a solution that also wrote the variable value back to the external file when the sliders are changed by the user.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 16:44:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-read-and-write-variables-from-external-file/m-p/1908929#M1244212</guid>
      <dc:creator>stallfelipe</dc:creator>
      <dc:date>2022-03-23T16:44:49Z</dc:date>
    </item>
    <item>
      <title>Re: How to read and write variables from external file?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-read-and-write-variables-from-external-file/m-p/1909051#M1244223</link>
      <description>&lt;P&gt;Writing to the file system from QlikView Server UI is challenging.&amp;nbsp; In QV Desktop you can use a macro attached to a button. Not sure if you could do that from a QV Server app. It's been a while since I've worked with QV Server.&lt;/P&gt;
&lt;P&gt;-Rob&lt;/P&gt;</description>
      <pubDate>Wed, 23 Mar 2022 21:43:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-read-and-write-variables-from-external-file/m-p/1909051#M1244223</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2022-03-23T21:43:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to read and write variables from external file?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-read-and-write-variables-from-external-file/m-p/1909262#M1244224</link>
      <description>&lt;P&gt;Did you consider the use of bookmarks to enable the users to store their (variable)-selections?&lt;/P&gt;
&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2022 10:00:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-read-and-write-variables-from-external-file/m-p/1909262#M1244224</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-03-24T10:00:54Z</dc:date>
    </item>
  </channel>
</rss>

