<?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: Difference Variable: Load-Editor vs. App in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Difference-Variable-Load-Editor-vs-App/m-p/1661564#M49677</link>
    <description>&lt;P&gt;Hi George,&lt;/P&gt;&lt;P&gt;The advantages to creating them in the load editor:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You can store your variables in a text file, and then use an &lt;EM&gt;Include&lt;/EM&gt; to bring them into the load editor. This is the preferred method for global variables across multiple apps.&lt;/LI&gt;&lt;LI&gt;You can, as you said, choose Let vs. Set.&lt;/LI&gt;&lt;LI&gt;It's quicker to update many variables in the load editor.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The only advantage I can think of to creating a variable in the App:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You don't have to wait for the reload&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Note that a variable created in the load editor, and then removed from the load editor &lt;U&gt;after&lt;/U&gt; a load, will remain in the variables list in the app.&lt;/P&gt;&lt;P&gt;Read these for more guidance:&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlikviewcookbook.com/2018/01/let-set-quotes/" target="_blank"&gt;https://qlikviewcookbook.com/2018/01/let-set-quotes/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Escape-sequences/ba-p/1469770" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Escape-sequences/ba-p/1469770&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 30 Dec 2019 19:00:03 GMT</pubDate>
    <dc:creator>Lauri</dc:creator>
    <dc:date>2019-12-30T19:00:03Z</dc:date>
    <item>
      <title>Difference Variable: Load-Editor vs. App</title>
      <link>https://community.qlik.com/t5/App-Development/Difference-Variable-Load-Editor-vs-App/m-p/1659787#M49468</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;What is the difference between creating a variable in Load Editor (set / let) and in the App itself (see picture below)?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2019.1220-143854.jpg" style="width: 63px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25860iDA7434E953EB3249/image-size/large?v=v2&amp;amp;px=999" role="button" title="2019.1220-143854.jpg" alt="2019.1220-143854.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Are there any disadvantages/advantages using one or the other?&lt;/P&gt;&lt;P&gt;One advanced&amp;nbsp; in the Load Editor I see, but please correct me if I am wrong, is to generate a 'order'. Hence able to control the dependencies of the variables.&lt;/P&gt;&lt;P&gt;Thanks for any help.&lt;/P&gt;&lt;P&gt;George&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 13:46:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Difference-Variable-Load-Editor-vs-App/m-p/1659787#M49468</guid>
      <dc:creator>george55</dc:creator>
      <dc:date>2019-12-20T13:46:12Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Variable: Load-Editor vs. App</title>
      <link>https://community.qlik.com/t5/App-Development/Difference-Variable-Load-Editor-vs-App/m-p/1661564#M49677</link>
      <description>&lt;P&gt;Hi George,&lt;/P&gt;&lt;P&gt;The advantages to creating them in the load editor:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You can store your variables in a text file, and then use an &lt;EM&gt;Include&lt;/EM&gt; to bring them into the load editor. This is the preferred method for global variables across multiple apps.&lt;/LI&gt;&lt;LI&gt;You can, as you said, choose Let vs. Set.&lt;/LI&gt;&lt;LI&gt;It's quicker to update many variables in the load editor.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The only advantage I can think of to creating a variable in the App:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;You don't have to wait for the reload&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Note that a variable created in the load editor, and then removed from the load editor &lt;U&gt;after&lt;/U&gt; a load, will remain in the variables list in the app.&lt;/P&gt;&lt;P&gt;Read these for more guidance:&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlikviewcookbook.com/2018/01/let-set-quotes/" target="_blank"&gt;https://qlikviewcookbook.com/2018/01/let-set-quotes/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Escape-sequences/ba-p/1469770" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Escape-sequences/ba-p/1469770&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 30 Dec 2019 19:00:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Difference-Variable-Load-Editor-vs-App/m-p/1661564#M49677</guid>
      <dc:creator>Lauri</dc:creator>
      <dc:date>2019-12-30T19:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Difference Variable: Load-Editor vs. App</title>
      <link>https://community.qlik.com/t5/App-Development/Difference-Variable-Load-Editor-vs-App/m-p/1662329#M49736</link>
      <description>&lt;P&gt;Thanks Laurischarf&lt;/P&gt;&lt;P&gt;So I will use going forward variable only in the load editor.&amp;nbsp;advantages outweigh the disadvantages.&lt;/P&gt;&lt;P&gt;And as I said, a further advantage in load editor, is to be able to put the variables in an order:&lt;BR /&gt;let x = 1+3&lt;BR /&gt;let y = x +1&lt;/P&gt;</description>
      <pubDate>Fri, 03 Jan 2020 08:12:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Difference-Variable-Load-Editor-vs-App/m-p/1662329#M49736</guid>
      <dc:creator>george55</dc:creator>
      <dc:date>2020-01-03T08:12:32Z</dc:date>
    </item>
  </channel>
</rss>

