<?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: History of an Exit Scrit that doesn't really exit in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/History-of-an-Exit-Scrit-that-doesn-t-really-exit/m-p/1688408#M52508</link>
    <description>&lt;P&gt;Same problem logged here :&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Ideas/Make-quot-exit-script-quot-exiting-script-For-real/idi-p/1666654" target="_blank"&gt;https://community.qlik.com/t5/Ideas/Make-quot-exit-script-quot-exiting-script-For-real/idi-p/1666654&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 27 Mar 2020 09:26:27 GMT</pubDate>
    <dc:creator>benoithervochon</dc:creator>
    <dc:date>2020-03-27T09:26:27Z</dc:date>
    <item>
      <title>History of an Exit Scrit that doesn't really exit</title>
      <link>https://community.qlik.com/t5/App-Development/History-of-an-Exit-Scrit-that-doesn-t-really-exit/m-p/1688389#M52501</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;recently i faced a problem with usage of must_include mixed after an exit scrit.&lt;/P&gt;&lt;P&gt;Create a simple app with one connector (i've called it TEST) pointing where you want with one qvs file inside&amp;nbsp;&lt;/P&gt;&lt;P&gt;step1.qvs with code :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;//First step loaded
Trace ---&amp;gt;&amp;gt; Hello World ! &amp;lt;&amp;lt;---;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your qlik sense app, add a section after Main with following code :&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;/*
First Must_Include
*/
$(Must_Include=lib://TEST/step1.qvs);
Exit Script;

/*
Second Must_Include that musn't be loaded :
- file dosen't exist
- there is an Exist Script before !!!
*/
$(Must_Include=lib://TEST/step2.qvs);&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Save your app and relaod... tadaaaa&lt;/P&gt;&lt;P&gt;reload fails... &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2020-03-27_09h39_48.png" style="width: 390px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/30702i57EC667A956BF06C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="2020-03-27_09h39_48.png" alt="2020-03-27_09h39_48.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, when you have an Exit Script; in your code, take care of not calling a Must_Include function after it because it can fails reload &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt; (if this must_include isn't working)&lt;/P&gt;&lt;P&gt;Have a nice day, Ben&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 18:52:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/History-of-an-Exit-Scrit-that-doesn-t-really-exit/m-p/1688389#M52501</guid>
      <dc:creator>benoithervochon</dc:creator>
      <dc:date>2024-11-16T18:52:41Z</dc:date>
    </item>
    <item>
      <title>Re: History of an Exit Scrit that doesn't really exit</title>
      <link>https://community.qlik.com/t5/App-Development/History-of-an-Exit-Scrit-that-doesn-t-really-exit/m-p/1688391#M52502</link>
      <description>&lt;P&gt;The exit script stops EXECUTION, but it does not stop PARSING. So you can have syntax errors and the includes will continue be loaded (as the include expansions are part of the parse process). I think that $(include...) and $(must_incude...) will behave similarly in this regard. Although if the file is missing, the straight include will fail silently, while the must_include generates an error message.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 08:58:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/History-of-an-Exit-Scrit-that-doesn-t-really-exit/m-p/1688391#M52502</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2020-03-27T08:58:36Z</dc:date>
    </item>
    <item>
      <title>Re: History of an Exit Scrit that doesn't really exit</title>
      <link>https://community.qlik.com/t5/App-Development/History-of-an-Exit-Scrit-that-doesn-t-really-exit/m-p/1688400#M52504</link>
      <description>&lt;P&gt;I was thinking that an Exit Script should stop parsing the code...that's not the case totally agree&lt;/P&gt;&lt;P&gt;Is there another option to avoid this kind of problem ? (/ex an app with old code archived&amp;nbsp; in a section in app after the exit script; )&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 09:20:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/History-of-an-Exit-Scrit-that-doesn-t-really-exit/m-p/1688400#M52504</guid>
      <dc:creator>benoithervochon</dc:creator>
      <dc:date>2020-03-27T09:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: History of an Exit Scrit that doesn't really exit</title>
      <link>https://community.qlik.com/t5/App-Development/History-of-an-Exit-Scrit-that-doesn-t-really-exit/m-p/1688408#M52508</link>
      <description>&lt;P&gt;Same problem logged here :&amp;nbsp;&lt;A href="https://community.qlik.com/t5/Ideas/Make-quot-exit-script-quot-exiting-script-For-real/idi-p/1666654" target="_blank"&gt;https://community.qlik.com/t5/Ideas/Make-quot-exit-script-quot-exiting-script-For-real/idi-p/1666654&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 09:26:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/History-of-an-Exit-Scrit-that-doesn-t-really-exit/m-p/1688408#M52508</guid>
      <dc:creator>benoithervochon</dc:creator>
      <dc:date>2020-03-27T09:26:27Z</dc:date>
    </item>
  </channel>
</rss>

