<?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 [Qlik cloud] How to get last application ID by name in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Qlik-cloud-How-to-get-last-application-ID-by-name/m-p/2528798#M107608</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i want to get application ID by name to perform a binary reload.&lt;/P&gt;&lt;P&gt;How to do this on script in qlik cloud ?&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Sophie&lt;/P&gt;</description>
    <pubDate>Fri, 29 Aug 2025 07:37:17 GMT</pubDate>
    <dc:creator>Sophie_</dc:creator>
    <dc:date>2025-08-29T07:37:17Z</dc:date>
    <item>
      <title>[Qlik cloud] How to get last application ID by name</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-cloud-How-to-get-last-application-ID-by-name/m-p/2528798#M107608</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;i want to get application ID by name to perform a binary reload.&lt;/P&gt;&lt;P&gt;How to do this on script in qlik cloud ?&lt;/P&gt;&lt;P&gt;Reagrds,&lt;/P&gt;&lt;P&gt;Sophie&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 07:37:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-cloud-How-to-get-last-application-ID-by-name/m-p/2528798#M107608</guid>
      <dc:creator>Sophie_</dc:creator>
      <dc:date>2025-08-29T07:37:17Z</dc:date>
    </item>
    <item>
      <title>Re: [Qlik cloud] How to get last application ID by name</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-cloud-How-to-get-last-application-ID-by-name/m-p/2528842#M107614</link>
      <description>&lt;P&gt;You will be able to find the id by name via the Administration area in Qlik Cloud.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Navigate to&amp;nbsp;https://&lt;EM&gt;your-qlik-cloud-tenant&lt;/EM&gt;/admin/content/apps&amp;nbsp;&lt;/P&gt;&lt;P&gt;There you will find the list of app names and their IDs listed.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Vegar_0-1756472490522.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183241iAE597AFBFB542354/image-size/large?v=v2&amp;amp;px=999" role="button" title="Vegar_0-1756472490522.png" alt="Vegar_0-1756472490522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 13:03:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-cloud-How-to-get-last-application-ID-by-name/m-p/2528842#M107614</guid>
      <dc:creator>Vegar</dc:creator>
      <dc:date>2025-08-29T13:03:49Z</dc:date>
    </item>
    <item>
      <title>Re: [Qlik cloud] How to get last application ID by name</title>
      <link>https://community.qlik.com/t5/App-Development/Qlik-cloud-How-to-get-last-application-ID-by-name/m-p/2528874#M107620</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/345022"&gt;@Sophie_&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;You won't be able to do that programmatically in your Load Script since the BINARY statement must be the very first line of your Load Script.&lt;/P&gt;&lt;P&gt;However, you can do a workaround for this problem. It requires a few steps and knowledge on Qlik Cloud REST APIs.&lt;BR /&gt;&lt;BR /&gt;These are the steps:&lt;/P&gt;&lt;P&gt;1. Create a new Qlik Application. This one will be the application that will have the BINARY Statement.&lt;/P&gt;&lt;P&gt;2. Open the Load Script and add the following lines:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;CONSTRAINT vBinaryAppId = {"type":"text"};
SET vBinaryAppId = 'dummyvalue';&lt;/LI-CODE&gt;&lt;P&gt;3. Reload the application&lt;/P&gt;&lt;P&gt;4. Delete the COSTRAINT and SET lines from the Step #2 and add the following line&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;BINARY [$(vBinaryAppId)];&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Perfect, now you have your Qlik Application ready to receive App IDs dynamically. And how can you do that? You need to use Qlik Cloud POST Rest API, this is the only way:&amp;nbsp;&lt;A href="https://qlik.dev/apis/rest/reloads/#post-api-v1-reloads" target="_blank" rel="noopener"&gt;Reloads REST | Qlik Developer Portal&lt;/A&gt;. There is a new feature in this endpoint that you can pass to your Load Script variable values.&lt;/P&gt;&lt;P&gt;There are multiple ways to do that. In my example, I have used Postman:&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="marksouzacosta_0-1756481934913.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/183245i664DD276764661CD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="marksouzacosta_0-1756481934913.png" alt="marksouzacosta_0-1756481934913.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Note that appId is the application I have created on Step #1. The value assigned on the vBinaryAppId, on the line 5, is the app that I would like to binary load.&lt;/P&gt;&lt;P&gt;Ok, great. Now you can start mixing things. Like, you could use Qlik Automate to request an App Name, and from the App Name, you can find the App ID and then call the Reload POST Command with the AppID.&lt;/P&gt;&lt;P&gt;You could create REST API Connections and do the same process in your Load Script - one app calling another app reload.&lt;/P&gt;&lt;P&gt;Please let us know what makes most sense to you and we can help you to implement the solution step-by-step.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Mark Costa&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 29 Aug 2025 15:51:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Qlik-cloud-How-to-get-last-application-ID-by-name/m-p/2528874#M107620</guid>
      <dc:creator>marksouzacosta</dc:creator>
      <dc:date>2025-08-29T15:51:39Z</dc:date>
    </item>
  </channel>
</rss>

