<?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 Variables declared in QVS and Included in load script not being included in application. in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Variables-declared-in-QVS-and-Included-in-load-script-not-being/m-p/1898796#M74193</link>
    <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;I have a Qlik Sense application that has two Include directives similar to:&lt;/P&gt;
&lt;P&gt;$(Include='lib://config1.qvs');&lt;/P&gt;
&lt;P&gt;$(Include='lib://config2.qvs');&lt;/P&gt;
&lt;P&gt;In each config file I've declared some variables:&lt;/P&gt;
&lt;P&gt;config1.qvs:&amp;nbsp; &amp;nbsp;Let vDate1=;&lt;/P&gt;
&lt;P&gt;config2.qvs:&amp;nbsp; Let vDate2=;&lt;/P&gt;
&lt;P&gt;When the application reloads, I can see in the log file that both qvs files are being included and the variable declarations are executed. However, if I try to use vDate2 in any expression, it doesn't exist. It doesn't even show up in the Variables drop-down of the expression editor. Yet vDate1 is there.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea why this behavior?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Steven&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 01 Mar 2022 15:49:16 GMT</pubDate>
    <dc:creator>stascher</dc:creator>
    <dc:date>2022-03-01T15:49:16Z</dc:date>
    <item>
      <title>Variables declared in QVS and Included in load script not being included in application.</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-declared-in-QVS-and-Included-in-load-script-not-being/m-p/1898796#M74193</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;I have a Qlik Sense application that has two Include directives similar to:&lt;/P&gt;
&lt;P&gt;$(Include='lib://config1.qvs');&lt;/P&gt;
&lt;P&gt;$(Include='lib://config2.qvs');&lt;/P&gt;
&lt;P&gt;In each config file I've declared some variables:&lt;/P&gt;
&lt;P&gt;config1.qvs:&amp;nbsp; &amp;nbsp;Let vDate1=;&lt;/P&gt;
&lt;P&gt;config2.qvs:&amp;nbsp; Let vDate2=;&lt;/P&gt;
&lt;P&gt;When the application reloads, I can see in the log file that both qvs files are being included and the variable declarations are executed. However, if I try to use vDate2 in any expression, it doesn't exist. It doesn't even show up in the Variables drop-down of the expression editor. Yet vDate1 is there.&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;Any idea why this behavior?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Steven&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Mar 2022 15:49:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-declared-in-QVS-and-Included-in-load-script-not-being/m-p/1898796#M74193</guid>
      <dc:creator>stascher</dc:creator>
      <dc:date>2022-03-01T15:49:16Z</dc:date>
    </item>
    <item>
      <title>Re: Variables declared in QVS and Included in load script not being included in application.</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-declared-in-QVS-and-Included-in-load-script-not-being/m-p/1899281#M74230</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Let vDate2=; assigned NULL against the variable and this means the variable will be deleted. So if you really used this or maybe another invalid expression like: 'a' + null() the variable disappeared. By vDate1 it may be different or this variable is created another time.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;I think a look within the document-log should easily show where these variables were created and called and maybe deleted again.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 12:29:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-declared-in-QVS-and-Included-in-load-script-not-being/m-p/1899281#M74230</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-03-02T12:29:37Z</dc:date>
    </item>
    <item>
      <title>Re: Variables declared in QVS and Included in load script not being included in application.</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-declared-in-QVS-and-Included-in-load-script-not-being/m-p/1899313#M74235</link>
      <description>I didn't know that an expression such as  vDate1=;  actually deleted the variable.&lt;BR /&gt;So my next question is, does that mean an expression such as vDate1=null();  will also delete the variable?&lt;BR /&gt;Regards,&lt;BR /&gt;Steven&lt;BR /&gt;</description>
      <pubDate>Wed, 02 Mar 2022 13:04:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-declared-in-QVS-and-Included-in-load-script-not-being/m-p/1899313#M74235</guid>
      <dc:creator>stascher</dc:creator>
      <dc:date>2022-03-02T13:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Variables declared in QVS and Included in load script not being included in application.</title>
      <link>https://community.qlik.com/t5/App-Development/Variables-declared-in-QVS-and-Included-in-load-script-not-being/m-p/1899317#M74236</link>
      <description>&lt;P&gt;Yes, that's right: let var = null(); removed the variable. In View variables which comes at least one time within the UI will keep their entry there within the variable-overview and must be manually deleted there, too (of course only those which shouldn't be there). By Sense I don't know if it's behaved similar.&lt;/P&gt;
&lt;P&gt;- Marcus&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Mar 2022 13:10:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Variables-declared-in-QVS-and-Included-in-load-script-not-being/m-p/1899317#M74236</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2022-03-02T13:10:33Z</dc:date>
    </item>
  </channel>
</rss>

