<?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: Looking for an API endpoint to drop data from stale applications in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809024#M14967</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6422"&gt;@jesper_bagge&lt;/a&gt;, with the Engine JSON API you have the &lt;A title="OpenDoc" href="https://help.qlik.com/en-US/sense-developer/May2021/apis/EngineAPI/services-Global-OpenDoc.html" target="_self"&gt;&lt;STRONG&gt;OpenDoc&lt;/STRONG&gt; &lt;/A&gt;method with the parameter&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;qNoData&lt;/STRONG&gt;. If you open an application with no data and save it (method &lt;STRONG&gt;DoSave&lt;/STRONG&gt;), you will get an empty app with a size of some Kb or a couple of Mb in the disk.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But take into account the developers will not be able to work with the app until it gets reloaded again, as the objects become unusable with no data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;JG&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 19 May 2021 12:52:48 GMT</pubDate>
    <dc:creator>JuanGerardo</dc:creator>
    <dc:date>2021-05-19T12:52:48Z</dc:date>
    <item>
      <title>Looking for an API endpoint to drop data from stale applications</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809017#M14965</link>
      <description>&lt;P&gt;Hi community!&lt;BR /&gt;&lt;BR /&gt;I'm looking for insights regarding size management on a Qlik Sense Enterprise for Windows solution.&lt;/P&gt;&lt;P&gt;On our plattform we've got about 30 developers happily creating apps, wrangling data and testing stuff out. A problem that has begun to surface is that we didn't have any thought about setting up app retention policys back in 2017 when we opened up the doors.&amp;nbsp;&lt;BR /&gt;Right now I'm looking at over&amp;nbsp; 1000 apps, where about 800 haven't even been touched this year. I'm not the one to decide whether to delete them or not, but the (probably stale) data residing in them is starting to take a toll on our disks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Theoretically, I probably wouldn't cause an uproar if I could just drop the data from the apps via an API - since they could just be rerun to get the data back.&lt;/P&gt;&lt;P&gt;Now to my question. Is there such an API? I'm quite well versed with the repository API but haven't found what I'm after. But perhaps someone else has had similar experiences?&lt;/P&gt;&lt;P&gt;UPDATE 20210528: link to solution &lt;A href="https://github.com/jesperbagge/qs-data-retention" target="_self"&gt;here&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Jesper Bagge&lt;/P&gt;</description>
      <pubDate>Fri, 13 Aug 2021 18:44:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809017#M14965</guid>
      <dc:creator>jesper_bagge</dc:creator>
      <dc:date>2021-08-13T18:44:03Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for an API endpoint to drop data from stale applications</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809021#M14966</link>
      <description>&lt;P&gt;Hey&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6422"&gt;@jesper_bagge&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;it's not straight-forward, but a possible solution is using Repository APIs:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;you can export the application without data&lt;/LI&gt;&lt;LI&gt;... and then replace the same application that you exported with the copy without data&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This way you'll keep all script, sheets, master items, ... and will remove all the data&lt;BR /&gt;Personally, I would suggest to try doing so using powershell and Qlik-CLI (&lt;A href="https://github.com/ahaydon/Qlik-Cli-Windows" target="_self"&gt;link&lt;/A&gt;)&lt;BR /&gt;&lt;BR /&gt;Let me know if this helps,&lt;BR /&gt;Riccardo&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 12:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809021#M14966</guid>
      <dc:creator>rzenere_avvale</dc:creator>
      <dc:date>2021-05-19T12:47:25Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for an API endpoint to drop data from stale applications</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809024#M14967</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/6422"&gt;@jesper_bagge&lt;/a&gt;, with the Engine JSON API you have the &lt;A title="OpenDoc" href="https://help.qlik.com/en-US/sense-developer/May2021/apis/EngineAPI/services-Global-OpenDoc.html" target="_self"&gt;&lt;STRONG&gt;OpenDoc&lt;/STRONG&gt; &lt;/A&gt;method with the parameter&amp;nbsp;&lt;SPAN&gt;&lt;STRONG&gt;qNoData&lt;/STRONG&gt;. If you open an application with no data and save it (method &lt;STRONG&gt;DoSave&lt;/STRONG&gt;), you will get an empty app with a size of some Kb or a couple of Mb in the disk.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But take into account the developers will not be able to work with the app until it gets reloaded again, as the objects become unusable with no data.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;JG&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 12:52:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809024#M14967</guid>
      <dc:creator>JuanGerardo</dc:creator>
      <dc:date>2021-05-19T12:52:48Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for an API endpoint to drop data from stale applications</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809025#M14968</link>
      <description>&lt;P&gt;Hi Riccardo,&lt;/P&gt;&lt;P&gt;Thanks! Will probably end up with a different app GUID, this way. But that might not pose a problem since I'm only targeting stuff in developers' My Work-stream.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I'd rather not go near powershell but the same can be done in Python since we're only talking REST here.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 12:53:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809025#M14968</guid>
      <dc:creator>jesper_bagge</dc:creator>
      <dc:date>2021-05-19T12:53:48Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for an API endpoint to drop data from stale applications</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809027#M14969</link>
      <description>&lt;P&gt;Wonderful, Juan!&lt;/P&gt;&lt;P&gt;This is most likely precisely what I'm after! Same app, id, script and objects but with no data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;My only concern is that if I'm allowed to open apps in other users My Work-stream using the Engine JSON API.&lt;/P&gt;&lt;P&gt;Cheers!&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 12:57:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809027#M14969</guid>
      <dc:creator>jesper_bagge</dc:creator>
      <dc:date>2021-05-19T12:57:45Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for an API endpoint to drop data from stale applications</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809041#M14971</link>
      <description>&lt;P&gt;Actually yes and no: if you import a separate app then yes, you'll generate a new app (so the new app will have a new GUID)&lt;BR /&gt;If you just import and replace at the same time the exported application, the source application will keep the same GUID&lt;BR /&gt;&lt;BR /&gt;I confirm that, if you're a RootAdmin, you can perform this action for all apps in your environment (yours or not, published or not)&lt;BR /&gt;&lt;BR /&gt;Riccardo&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 13:08:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809041#M14971</guid>
      <dc:creator>rzenere_avvale</dc:creator>
      <dc:date>2021-05-19T13:08:23Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for an API endpoint to drop data from stale applications</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809120#M14973</link>
      <description>&lt;P&gt;An option is to authenticate using Qlik Sense certificates, so you will be able to access everything.&lt;/P&gt;&lt;P&gt;JG&lt;/P&gt;</description>
      <pubDate>Wed, 19 May 2021 15:13:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1809120#M14973</guid>
      <dc:creator>JuanGerardo</dc:creator>
      <dc:date>2021-05-19T15:13:26Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for an API endpoint to drop data from stale applications</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1811375#M15011</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;I ended up using the Engine API as you suggested. And using certificates for authentication did the trick!&lt;BR /&gt;&lt;BR /&gt;Thought I'd share my solution in this thread for anyone curious. It's a CLI-ish python app that can be CRON:d for continuous duty.&lt;BR /&gt;&lt;BR /&gt;Link to my &lt;A title="Qlik Sense Data Retion Controller" href="https://github.com/jesperbagge/qs-data-retention" target="_blank" rel="noopener"&gt;repo here&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;</description>
      <pubDate>Fri, 28 May 2021 13:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Looking-for-an-API-endpoint-to-drop-data-from-stale-applications/m-p/1811375#M15011</guid>
      <dc:creator>jesper_bagge</dc:creator>
      <dc:date>2021-05-28T13:03:06Z</dc:date>
    </item>
  </channel>
</rss>

