<?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: Exporting app with data using OAuth in Qlik-CLI in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Exporting-app-with-data-using-OAuth-in-Qlik-CLI/m-p/2486932#M21377</link>
    <description>&lt;P&gt;For solving this, I modified the line to set export function with API KEY value, and export with OAuth user credentials.&lt;/P&gt;
&lt;P&gt;Best regards!&lt;/P&gt;</description>
    <pubDate>Mon, 14 Oct 2024 17:26:11 GMT</pubDate>
    <dc:creator>DanielCordon</dc:creator>
    <dc:date>2024-10-14T17:26:11Z</dc:date>
    <item>
      <title>Exporting app with data using OAuth in Qlik-CLI</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Exporting-app-with-data-using-OAuth-in-Qlik-CLI/m-p/2484119#M21329</link>
      <description>&lt;P&gt;Hi everyone!&lt;/P&gt;
&lt;P&gt;I'm creating a script for export, import and publishing apps betweens tenants in Qlik Cloud using Qlik-CLI. As the first step I create a context using following line:&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;qlik context create test --server https://&amp;lt;TENANT NAME&amp;gt;.us.qlikcloud.com/ --api-key &amp;lt;API KEY&amp;gt;
&lt;/LI-CODE&gt;
&lt;P&gt;After that I log into that context with &lt;U&gt;qlik context use test .&amp;nbsp;&lt;/U&gt;After that I use following line for export app from a shared space from test tenant&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;qlik app export &amp;lt;AppId&amp;gt; &amp;gt; &amp;lt;Pathfile&amp;gt;/AppName.qvf &lt;/LI-CODE&gt;
&lt;P&gt;It does export app &lt;STRONG&gt;with data&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;Furthermore we should use OAuth client for multitenant managing. So we create context using&amp;nbsp;&lt;SPAN&gt;&lt;U&gt;--oauth-client-id&lt;/U&gt; and&amp;nbsp;&lt;/SPAN&gt;&lt;U style="font-family: inherit;"&gt;--oauth-client-secret&lt;/U&gt;&lt;SPAN&gt; flags for creating context.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;However, using the last context with this authentication it's exporting app with &lt;STRONG&gt;No Data.&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;What could be the issue?&lt;/P&gt;
&lt;P&gt;Note: I followed this tutorial for creating OAuth client credentials&amp;nbsp;&lt;BR /&gt;&lt;A href="https://qlik.dev/manage/platform-operations/authenticate-platform-ops/#how-to-create-a-region-level-oauth-client" target="_blank"&gt;https://qlik.dev/manage/platform-operations/authenticate-platform-ops/#how-to-create-a-region-level-oauth-client&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 20:32:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Exporting-app-with-data-using-OAuth-in-Qlik-CLI/m-p/2484119#M21329</guid>
      <dc:creator>DanielCordon</dc:creator>
      <dc:date>2024-09-27T20:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting app with data using OAuth in Qlik-CLI</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Exporting-app-with-data-using-OAuth-in-Qlik-CLI/m-p/2484127#M21330</link>
      <description>&lt;P&gt;Hello &lt;A href="https://community.qlik.com/t5/user/viewprofilepage/user-id/301101" target="_blank"&gt;&lt;SPAN style="color:var(--ck-color-mention-text);"&gt;@DanielCordon&lt;/SPAN&gt;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tested with a context which uses an API key only.&lt;/P&gt;&lt;P&gt;I was not able to reproduce the issue. You can actually see the difference when exporting with and without the --NoData flag.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Try this below to see if the output size changes for you with and without the --NoData flag.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;NoData flag: App size is 768KB&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;No data is seen when opening the app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Without NoData flag: App size is 960kb&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Data is seen when opening the app.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are consistently reproducing the issue with your specific context configuration however, please do start a support case.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Kind regards....&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image_resized" style="width:77.06%;" src="https://lithium-response-prod.s3.us-west-2.amazonaws.com/qlik.response.lithium.com/RESPONSEIMAGE/0a9dc9e1-4b53-4858-abe1-b0c2e478271d.default.png" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 21:40:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Exporting-app-with-data-using-OAuth-in-Qlik-CLI/m-p/2484127#M21330</guid>
      <dc:creator>Frank_S</dc:creator>
      <dc:date>2024-09-27T21:40:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting app with data using OAuth in Qlik-CLI</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Exporting-app-with-data-using-OAuth-in-Qlik-CLI/m-p/2484131#M21331</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/48712"&gt;@Frank_S&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I tested that already. Red box is with personal APIKEY and blue one is for OAuth client information&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DanielCordon_0-1727475301962.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/172282i7BC689209A8F4BC3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DanielCordon_0-1727475301962.png" alt="DanielCordon_0-1727475301962.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Sep 2024 22:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Exporting-app-with-data-using-OAuth-in-Qlik-CLI/m-p/2484131#M21331</guid>
      <dc:creator>DanielCordon</dc:creator>
      <dc:date>2024-09-27T22:15:39Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting app with data using OAuth in Qlik-CLI</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Exporting-app-with-data-using-OAuth-in-Qlik-CLI/m-p/2486932#M21377</link>
      <description>&lt;P&gt;For solving this, I modified the line to set export function with API KEY value, and export with OAuth user credentials.&lt;/P&gt;
&lt;P&gt;Best regards!&lt;/P&gt;</description>
      <pubDate>Mon, 14 Oct 2024 17:26:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Exporting-app-with-data-using-OAuth-in-Qlik-CLI/m-p/2486932#M21377</guid>
      <dc:creator>DanielCordon</dc:creator>
      <dc:date>2024-10-14T17:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: Exporting app with data using OAuth in Qlik-CLI</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Exporting-app-with-data-using-OAuth-in-Qlik-CLI/m-p/2507907#M21877</link>
      <description>&lt;P&gt;Hi DanielCordon,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;Your OAuth Client user is lacking the correct roles/permissions in the space of the app, which you are trying to export with data.&lt;BR /&gt;&lt;/STRONG&gt;&lt;BR /&gt;When you create a OAuth Client, a corresponding Qlik service user (representing the OAuth client) is created in the Qlik Cloud tenant (IDP: qlikbot), with a name matching the client.&lt;BR /&gt;&lt;BR /&gt;Despite having set different scopes on the OAuth Client, the normal permission based limitations are still applied to the OAuth user - where the default assumption may be that the service user "can do everything" in the tenant. So space permissions still need to be applied, to ensure that the retrieved token of the OAuth Client match what is expected permission wise.&lt;BR /&gt;&lt;BR /&gt;Hope this makes sense.&lt;BR /&gt;&lt;BR /&gt;Kind regards,&lt;/P&gt;
&lt;P&gt;PythonMCSJ&lt;/P&gt;</description>
      <pubDate>Sat, 01 Mar 2025 12:34:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Exporting-app-with-data-using-OAuth-in-Qlik-CLI/m-p/2507907#M21877</guid>
      <dc:creator>PythonMCSJ</dc:creator>
      <dc:date>2025-03-01T12:34:36Z</dc:date>
    </item>
  </channel>
</rss>

