<?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 Creation of app and loading script in it with Qlik API end points in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2519864#M22245</link>
    <description>&lt;DIV&gt;Hi ,&lt;BR /&gt;&lt;BR /&gt;We are attempting to create a app and load the script in it through the Qlik Cloud API.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;While we received a positive response from both API call, we noticed that there was no script loaded in the app when we checked from the Qlik Cloud and the app is getting created with no Data manager, no Data load editor in Qlik Cloud. We are following all the steps as per the official article - &lt;A href="https://qlik.dev/apis/rest/apps/" target="_blank" rel="noopener"&gt;https://qlik.dev/apis/rest/apps/&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Could anyone kindly provide us with some insights or guidance on this matter? Your expertise and advice would be greatly appreciated.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;API endpoints used:&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;DIV&gt;Creation of app: api/v1/apps&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV&gt;Load Script : api/v1/apps/&amp;lt;appid&amp;gt;/scripts&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
    <pubDate>Tue, 03 Jun 2025 04:38:21 GMT</pubDate>
    <dc:creator>Mala</dc:creator>
    <dc:date>2025-06-03T04:38:21Z</dc:date>
    <item>
      <title>Creation of app and loading script in it with Qlik API end points</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2519864#M22245</link>
      <description>&lt;DIV&gt;Hi ,&lt;BR /&gt;&lt;BR /&gt;We are attempting to create a app and load the script in it through the Qlik Cloud API.&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;While we received a positive response from both API call, we noticed that there was no script loaded in the app when we checked from the Qlik Cloud and the app is getting created with no Data manager, no Data load editor in Qlik Cloud. We are following all the steps as per the official article - &lt;A href="https://qlik.dev/apis/rest/apps/" target="_blank" rel="noopener"&gt;https://qlik.dev/apis/rest/apps/&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Could anyone kindly provide us with some insights or guidance on this matter? Your expertise and advice would be greatly appreciated.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;API endpoints used:&lt;/DIV&gt;&lt;OL&gt;&lt;LI&gt;&lt;DIV&gt;Creation of app: api/v1/apps&lt;/DIV&gt;&lt;/LI&gt;&lt;LI&gt;&lt;DIV&gt;Load Script : api/v1/apps/&amp;lt;appid&amp;gt;/scripts&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Tue, 03 Jun 2025 04:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2519864#M22245</guid>
      <dc:creator>Mala</dc:creator>
      <dc:date>2025-06-03T04:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Creation of app and loading script in it with Qlik API end points</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2519939#M22246</link>
      <description>&lt;P&gt;You'll need to perform another API call to have the engine execute the script as well. Perhaps that is what is missing on your side? This is what I did using the QlikSenseRestClient library &lt;A href="https://www.nuget.org/packages/QlikSenseRestClient/" target="_blank" rel="noopener"&gt;https://www.nuget.org/packages/QlikSenseRestClient/&lt;/A&gt;&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;var url = "&amp;lt;url&amp;gt;&amp;gt;";
var apiKey = "&amp;lt;apiKey&amp;gt;";

var client = new RestClientQcs(url);
client.AsApiKey(apiKey);

var body = JObject.FromObject(new { attributes = new { name = "MyApp" } });
var rsp = client.Post&amp;lt;JObject&amp;gt;("/api/v1/apps", body);
Console.WriteLine(rsp.ToString());
var appId = rsp["attributes"]["id"].Value&amp;lt;string&amp;gt;();

var script = "Load Chr(RecNo()+Ord('A')-1) as Alpha, RecNo() as Num autogenerate 26;";
body = JObject.FromObject(new { script = script, versionMessage = "This is my version" });
client.Post($"/api/v1/apps/{appId}/scripts", body);&lt;/LI-CODE&gt;
&lt;P&gt;And then this call to run the script and load the data into the app:&lt;/P&gt;
&lt;LI-CODE lang="csharp"&gt;body = JObject.FromObject(new { appId = appId });
Console.WriteLine(client.Post("/api/v1/reloads", body));&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jun 2025 08:02:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2519939#M22246</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2025-06-09T08:02:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creation of app and loading script in it with Qlik API end points</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2521229#M22294</link>
      <description>&lt;P&gt;Hi ,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;We are running all the there API calls through Postman using client ID and secret , and yet we couldn't get any positive response on that.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 05:58:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2521229#M22294</guid>
      <dc:creator>Mala</dc:creator>
      <dc:date>2025-06-16T05:58:05Z</dc:date>
    </item>
    <item>
      <title>Re: Creation of app and loading script in it with Qlik API end points</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2521239#M22295</link>
      <description>&lt;P&gt;You mean you get an access token from an OAuth client? Maybe there's something missing when it comes to the scope configuration of the client? I suggest you try authenticate with an API key instead and see if you get it to work using that flow. That way you will at least know if there's anything wrong with the way you call the endpoints.&lt;/P&gt;
&lt;P&gt;You can read more about scopes and OAuth here: &lt;A href="https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/mc-create-oauth-client.htm" target="_blank"&gt;https://help.qlik.com/en-US/cloud-services/Subsystems/Hub/Content/Sense_Hub/Admin/mc-create-oauth-client.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 07:47:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2521239#M22295</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2025-06-16T07:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Creation of app and loading script in it with Qlik API end points</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2521247#M22296</link>
      <description>&lt;P&gt;Yes ! As mentioned it is working with the API Keys , but not with the client ID and secret and the OAuth credentials are having all the scopes required for the app creation and loading the script. Eventhough, the app created with the OAuth client is getting create as empty with no Data loader and Data editor&lt;/P&gt;&lt;P&gt;(Scopes:&amp;nbsp;&lt;SPAN&gt;apps&amp;nbsp;apps:export&amp;nbsp;apps:read&amp;nbsp;apps.data:export&amp;nbsp;apps.image:export&amp;nbsp;users&amp;nbsp;users:read&amp;nbsp;admin.apps&amp;nbsp;admin.apps:export&amp;nbsp;admin.apps:read&amp;nbsp;admin.automations&amp;nbsp;admin.automations:read&amp;nbsp;admin.spaces&amp;nbsp;admin.spaces:read&amp;nbsp;admin.users&amp;nbsp;admin.users:read&amp;nbsp;identity.name:read&amp;nbsp;identity.email:read&amp;nbsp;identity.subject:read&amp;nbsp;identity.picture:read&amp;nbsp;user_default&amp;nbsp;admin_classic&amp;nbsp;automations&amp;nbsp;automations:read&amp;nbsp;automl-deployments&amp;nbsp;automl-experiments&amp;nbsp;spaces.data&amp;nbsp;spaces.data:read&amp;nbsp;spaces.managed&amp;nbsp;spaces.managed:read&amp;nbsp;spaces.shared&amp;nbsp;spaces.shared:read&amp;nbsp;dataset&amp;nbsp;lineage:create&lt;/SPAN&gt;)&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 08:56:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2521247#M22296</guid>
      <dc:creator>Mala</dc:creator>
      <dc:date>2025-06-16T08:56:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creation of app and loading script in it with Qlik API end points</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2521255#M22298</link>
      <description>&lt;P&gt;Are you using impersonation? Otherwise the app will be created as a bot user when authenticating like that. Maybe you user simply can't see the contents of it? You can change the owner of an app in the administrator section of QCS, so have a look there.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 09:35:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2521255#M22298</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2025-06-16T09:35:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creation of app and loading script in it with Qlik API end points</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2521259#M22299</link>
      <description>&lt;P&gt;The user account through which the OAuth client is created is a Tenant Admin, and using the same we are running the API calls .So, the user I having all the privilege.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 09:59:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2521259#M22299</guid>
      <dc:creator>Mala</dc:creator>
      <dc:date>2025-06-16T09:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Creation of app and loading script in it with Qlik API end points</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2521263#M22300</link>
      <description>&lt;P&gt;OK, but I don't think tenant admins can see the content of users private apps. And the user set as the owner of that created app will be a bot-user, not the user who created the OAuth client. You can verify this by looking at the response to your call to POST "/api/v1/apps". You'll see in the attributes section of the response lines like this:&lt;/P&gt;
&lt;PRE&gt;...&lt;BR /&gt;"owner": "qlikbot\\&amp;lt;id0&amp;gt;",&lt;BR /&gt;"ownerId": "&amp;lt;id1&amp;gt;",&lt;BR /&gt;...&lt;/PRE&gt;
&lt;P&gt;If you change the owner of the app then you should be able to see the data. Or if you publish the app to a stream. That should do the trick as well.&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jun 2025 10:22:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Creation-of-app-and-loading-script-in-it-with-Qlik-API-end/m-p/2521263#M22300</guid>
      <dc:creator>Øystein_Kolsrud</dc:creator>
      <dc:date>2025-06-16T10:22:54Z</dc:date>
    </item>
  </channel>
</rss>

