<?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 How to delete qlik variables using API from web application in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-delete-qlik-variables-using-API-from-web-application/m-p/1707337#M12832</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a web application with AngularJS MVC framework connected to Qlik Sense Apps. Now i want to create a page with all the user defined variable list for the selected qlik app and it is done. Now based on the variable selection from the list i want to delete it after click a button.&lt;/P&gt;&lt;P&gt;I came to know that there are some API calls available(destroyvariablebyid and destroyvariablebyname method). I dont know how to use it from the web application. It would be helpful if anyone provide a suggestion to delete variable from qlik thru API.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Tue, 02 Jun 2020 06:01:56 GMT</pubDate>
    <dc:creator>Balamurugan</dc:creator>
    <dc:date>2020-06-02T06:01:56Z</dc:date>
    <item>
      <title>How to delete qlik variables using API from web application</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-delete-qlik-variables-using-API-from-web-application/m-p/1707337#M12832</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a web application with AngularJS MVC framework connected to Qlik Sense Apps. Now i want to create a page with all the user defined variable list for the selected qlik app and it is done. Now based on the variable selection from the list i want to delete it after click a button.&lt;/P&gt;&lt;P&gt;I came to know that there are some API calls available(destroyvariablebyid and destroyvariablebyname method). I dont know how to use it from the web application. It would be helpful if anyone provide a suggestion to delete variable from qlik thru API.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 02 Jun 2020 06:01:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-delete-qlik-variables-using-API-from-web-application/m-p/1707337#M12832</guid>
      <dc:creator>Balamurugan</dc:creator>
      <dc:date>2020-06-02T06:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete qlik variables using API from web application</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-delete-qlik-variables-using-API-from-web-application/m-p/1710003#M12882</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/54772"&gt;@Balamurugan&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Can use engine to remove the variable&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"handle": 1,&lt;BR /&gt;"method": "RemoveVariable",&lt;BR /&gt;"params": {&lt;BR /&gt;"qName": "Name of Variable"&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jun 2020 01:55:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-delete-qlik-variables-using-API-from-web-application/m-p/1710003#M12882</guid>
      <dc:creator>ajaykakkar93</dc:creator>
      <dc:date>2020-06-11T01:55:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to delete qlik variables using API from web application</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-delete-qlik-variables-using-API-from-web-application/m-p/1720389#M12917</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i am able to delete the variable now&amp;nbsp;&lt;EM&gt;destroyVariableByName&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;it is not showing in the console when its reply. But when i reload the webpage it is again appearing on my variable list. it is not getting deleted permanently. Am i missing something? i have full permission of the Qlik app ( i am the app &lt;EM&gt;owner&lt;/EM&gt;/ also part of &lt;EM&gt;Developer&lt;/EM&gt; role)&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;EM&gt;qName ='xxxx';&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;var deferred = $q.defer();&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;qlikApp.model.engineApp.destroyVariableByName(qName)&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;.then(function() {&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; console.log('Variable Removed');&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; deferred.resolve();&lt;/EM&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;qlikApp.getList("VariableList", function(reply){console.log("reply = ",reply);&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;})&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;}).catch(function(err) {&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;deferred.reject(err);&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;console.log(err);&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;});&lt;/EM&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;EM&gt;return deferred.promise;&lt;/EM&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 19 Jun 2020 14:46:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-to-delete-qlik-variables-using-API-from-web-application/m-p/1720389#M12917</guid>
      <dc:creator>Balamurugan</dc:creator>
      <dc:date>2020-06-19T14:46:30Z</dc:date>
    </item>
  </channel>
</rss>

