<?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: Qlik Cloud Analytics - calling a TXT file containing a script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-Cloud-Analytics-calling-a-TXT-file-containing-a-script/m-p/2508295#M104493</link>
    <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47066"&gt;@morgankejerhag&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Yes, I noticed that - it was not a mistake, because I did create a QVS file, but it was not working for me...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I found the solution...&lt;/P&gt;
&lt;P&gt;Thanks for the time to reply.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;~Demian&lt;/P&gt;</description>
    <pubDate>Tue, 04 Mar 2025 19:45:05 GMT</pubDate>
    <dc:creator>DEMONIO_AZUL</dc:creator>
    <dc:date>2025-03-04T19:45:05Z</dc:date>
    <item>
      <title>Qlik Cloud Analytics - calling a TXT file containing a script</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Cloud-Analytics-calling-a-TXT-file-containing-a-script/m-p/2508288#M104489</link>
      <description>&lt;P&gt;Hello there!&lt;/P&gt;
&lt;P&gt;I am facing an issue that I cannot find in the Qlik Help, here in the Community or anywhere else. It is perhaps too simple or impossible.&lt;/P&gt;
&lt;P&gt;Years ago, it was possible to include a sentence with the path to a TXT file containing Qlik syntax and the Load Editor parsed it as part of the whole load script. This was very useful when defining -for instance- colours so every app could make such a call to the TXT file and this was an excellent way to ensure consistency in colours. Or a good way to re-use scripts.&lt;/P&gt;
&lt;P&gt;However, I was using first Qlik Sense Desktop and then Qlik Server, both allowed me to address/upload files to a folder and then the Data Connection added the path to the file and I could access those scripts via an $(Include) statement.&lt;/P&gt;
&lt;P&gt;I do not have any issues with the $(Include=...) syntax... the problem is how to upload a TXT file to Qlik Cloud. I was not able, so I created a script within Qlik Cloud as follows:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DEMONIO_AZUL_0-1741115995119.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178131i9094099812D69964/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DEMONIO_AZUL_0-1741115995119.png" alt="DEMONIO_AZUL_0-1741115995119.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;This script has nothing else, it's just that. saved in Colours.txt.&lt;/P&gt;
&lt;P&gt;I can see it in the Qlik Cloud Analytics - Home section as a script:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DEMONIO_AZUL_1-1741116172304.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178132iCD27B5C3C5F23EB9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DEMONIO_AZUL_1-1741116172304.png" alt="DEMONIO_AZUL_1-1741116172304.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And in my app's load script, I am using this:&lt;/P&gt;
&lt;P&gt;$(include=[lib://TESS:DataFiles/Colours.qvs]);&lt;/P&gt;
&lt;P&gt;When I use&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DEMONIO_AZUL_2-1741116329824.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178133iEA00A58FF48D3FC2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DEMONIO_AZUL_2-1741116329824.png" alt="DEMONIO_AZUL_2-1741116329824.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;There is no error message, but it does not load the colours...&lt;/P&gt;
&lt;P&gt;Questions:&lt;/P&gt;
&lt;P&gt;1) Is it possible to upload a TXT file?&lt;/P&gt;
&lt;P&gt;2) If so, how?&lt;/P&gt;
&lt;P&gt;3) If not, how do I properly link the QVS file? Nothing seems to work and no error messages are more cryptical for the solution to be found...&lt;/P&gt;
&lt;P&gt;Thank you!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 19:28:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Cloud-Analytics-calling-a-TXT-file-containing-a-script/m-p/2508288#M104489</guid>
      <dc:creator>DEMONIO_AZUL</dc:creator>
      <dc:date>2025-03-04T19:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Cloud Analytics - calling a TXT file containing a script</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Cloud-Analytics-calling-a-TXT-file-containing-a-script/m-p/2508291#M104491</link>
      <description>&lt;P&gt;You write that the file is named Colours.txt and then include Colours.qvs ?&lt;BR /&gt;&lt;BR /&gt;Switch to must_include to get an error if the file is not found. I am using this as you show and it works fine for me.&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 19:41:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Cloud-Analytics-calling-a-TXT-file-containing-a-script/m-p/2508291#M104491</guid>
      <dc:creator>morgankejerhag</dc:creator>
      <dc:date>2025-03-04T19:41:21Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Cloud Analytics - calling a TXT file containing a script</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Cloud-Analytics-calling-a-TXT-file-containing-a-script/m-p/2508293#M104492</link>
      <description>&lt;P&gt;Nevermind!&lt;BR /&gt;&lt;BR /&gt;Found myself a way...&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;In the app, I clicked this icon:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DEMONIO_AZUL_0-1741117107373.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178134iE0069CBD8BE8D5FB/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DEMONIO_AZUL_0-1741117107373.png" alt="DEMONIO_AZUL_0-1741117107373.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The I dragged and dropped the file... and &lt;EM&gt;voilà&lt;/EM&gt;!&lt;BR /&gt;&lt;BR /&gt;Now, I used this:&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;$(include=[lib://TESS:DataFiles/Colours.txt]);&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;It worked!&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;When checking my load script, there is a tiny icon beside the $(include=...) sentence that pops up this:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DEMONIO_AZUL_1-1741117303592.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/178135iFB924491BC8F2DAC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DEMONIO_AZUL_1-1741117303592.png" alt="DEMONIO_AZUL_1-1741117303592.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;So, it's there &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 19:42:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Cloud-Analytics-calling-a-TXT-file-containing-a-script/m-p/2508293#M104492</guid>
      <dc:creator>DEMONIO_AZUL</dc:creator>
      <dc:date>2025-03-04T19:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Cloud Analytics - calling a TXT file containing a script</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-Cloud-Analytics-calling-a-TXT-file-containing-a-script/m-p/2508295#M104493</link>
      <description>&lt;P&gt;Thanks,&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/47066"&gt;@morgankejerhag&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Yes, I noticed that - it was not a mistake, because I did create a QVS file, but it was not working for me...&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now I found the solution...&lt;/P&gt;
&lt;P&gt;Thanks for the time to reply.&lt;/P&gt;
&lt;P&gt;Cheers,&lt;BR /&gt;~Demian&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 19:45:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-Cloud-Analytics-calling-a-TXT-file-containing-a-script/m-p/2508295#M104493</guid>
      <dc:creator>DEMONIO_AZUL</dc:creator>
      <dc:date>2025-03-04T19:45:05Z</dc:date>
    </item>
  </channel>
</rss>

