<?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: Weird Sense API behaviour? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932742#M3339</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Desktop (for now)&lt;/P&gt;&lt;P&gt;I've tried with DoSave() as well but result was the same. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will try with the server today as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that the callback of the delete method is returned after the object is completely removed (free the id as well)?&lt;/P&gt;&lt;P&gt;Any idea if i wait few seconds before start creating the object will be an workaround?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Nov 2015 13:45:50 GMT</pubDate>
    <dc:creator>countnazgul</dc:creator>
    <dc:date>2015-11-04T13:45:50Z</dc:date>
    <item>
      <title>Weird Sense API behaviour?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932740#M3337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;im noticing weird behaviour using few api methods. The idea is to delete measure from specific document and then recreate if.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the workflow im following:&lt;/P&gt;&lt;P&gt;* Using the Engine API Explorer im invoking the GetMeasure method and copy the string for the returned generic object. ( Im using the Executive Dashboard so you can check with measure id = bUft)&lt;/P&gt;&lt;P&gt;* DeleteMeasure - with id bUft&lt;/P&gt;&lt;P&gt;* CreateMeasure - pasting the generic object from step 1&lt;/P&gt;&lt;P&gt;* at this point im expecting to have exactly the same measure and the api returns almost exactly the same object. The only difference is that the new "imported" measure have a different id. For example "&lt;CODE class="ng-binding language-css"&gt;95ddc165-9a5d-42a4-a1cb-337e36511fd4" instead "bUft&lt;SPAN style="font-size: 13.3333px;"&gt;"&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;* try &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;GetMeasure again with id = &lt;SPAN style="font-size: 13.3333px;"&gt;bUft - the api returns null&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;After this im trying:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="ng-binding language-css"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;* invoke DoSave() method&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="ng-binding language-css"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;* refresh the page with the api explorer&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px; font-family: monospace;"&gt;* check the GetMeasure again - still null&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="ng-binding language-css"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;* try Create&lt;SPAN style="line-height: 20px;"&gt;Measure again&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="line-height: 20px; font-size: 13.3333px; font-family: monospace;"&gt;* the measure is created with the correct id (bUft)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Interesting bit is that this is happening with Measures, Dimensions and MasterObjects. For the other objects ( like sheets, snapshots etc.) this is not the case. Deleting the object and recreating it right after this (without invoking DoSave or SaveObjects methods) is creating exactly the same objects.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 08:02:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932740#M3337</guid>
      <dc:creator>countnazgul</dc:creator>
      <dc:date>2015-11-04T08:02:53Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Sense API behaviour?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932741#M3338</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Desktop or Server?&lt;BR /&gt;You can't have multiple objects with the same IDs in a QVF so when you delete the object and then right after try to create a object with the same ID most likely the ID has not been free'd up yet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are on Desktop I would suggest you call a DoSave to persist the ID changes and free up available ones.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 12:59:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932741#M3338</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2015-11-04T12:59:32Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Sense API behaviour?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932742#M3339</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Desktop (for now)&lt;/P&gt;&lt;P&gt;I've tried with DoSave() as well but result was the same. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Will try with the server today as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I thought that the callback of the delete method is returned after the object is completely removed (free the id as well)?&lt;/P&gt;&lt;P&gt;Any idea if i wait few seconds before start creating the object will be an workaround?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2015 13:45:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932742#M3339</guid>
      <dc:creator>countnazgul</dc:creator>
      <dc:date>2015-11-04T13:45:50Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Sense API behaviour?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932743#M3340</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've managed to get 2 workflows (in QS Desktop) - working and not working (below is paste from Chrome console log)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Not working:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Open doc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; Doc "Executive Dashboard.qvf" is open&lt;/P&gt;&lt;P&gt;Get all measures&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; Available measures: 1 ["NPPsJt"]&lt;/P&gt;&lt;P&gt;Delete all measures --&amp;gt; Measure ID: NPPsJt was deleted; 1 measures was deleted&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;doSave()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Saved&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Get all measures&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;Available measures: 0; []&lt;/P&gt;&lt;P&gt;Create 1 measure&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; Measure: "Revenue" (NPPsJt) was created&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Get all measures&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;Available measures: 1; ["8d45835a-488d-4ae8-bf3b-6868ad8c1adf"]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;doSave()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Saved&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Delete all measures --&amp;gt; &lt;/SPAN&gt;Measure ID: 8d45835a-488d-4ae8-bf3b-6868ad8c1adf was deleted; 1 measures was deleted&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;doSave()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Saved&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Get all measures&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;Available measures: 0; []&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Create 1 measure&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;Create 1 measure --&amp;gt; &lt;/SPAN&gt;Measure: "Revenue" (NPPsJt) was created&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Get all measures&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;Available measures: 1; ["42e7e45c-2a09-4629-9306-f3770a5218b8"]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;doSave()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Saved&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Working:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Open doc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;Doc "Executive Dashboard.qvf" is open&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Get all measures&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;Available measures: 1 ["NPPsJt"]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Delete all measures --&amp;gt; &lt;/SPAN&gt;Measure ID: NPPsJt was deleted; 1 measures was deleted&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;doSave()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Saved&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Get all measures&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;Available measures: 0; []&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;--------------------------------&amp;gt; At this point I'm refreshing (F5) the app in the QS Deskop and also refresh the mashup page&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Open doc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Doc "Executive Dashboard.qvf" is open&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Get all measures&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;Available measures: 0; []&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Create 1 measure&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;Measure: "Revenue" (NPPsJt) was created&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Get all measures&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;Available measures: 1; ["NPPsJt"]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;doSave()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Saved&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Attached are the hml and js file im using for this mashup&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 06:54:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932743#M3340</guid>
      <dc:creator>countnazgul</dc:creator>
      <dc:date>2015-11-05T06:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Sense API behaviour?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932744#M3341</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The same script but for Masterobjects, for example, works without any issue:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Open doc&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;Doc "Executive Dashboard.qvf" is open&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Get all &lt;SPAN style="font-size: 13.3333px;"&gt;Masterobjects&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;--&amp;gt; &lt;/SPAN&gt;Available &lt;SPAN style="font-size: 13.3333px;"&gt;Masterobjects&lt;/SPAN&gt;: 1; ["tmaqpf"]&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Delete all m&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;asterobjects&amp;nbsp; &lt;/SPAN&gt;--&amp;gt; &lt;/SPAN&gt;Masterobject&lt;/SPAN&gt; ID: tmaqpf was deleted; 1 &lt;SPAN style="font-size: 13.3333px;"&gt;Masterobject&lt;/SPAN&gt; was deleted&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Get all &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Masterobjects&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;--&amp;gt; &lt;/SPAN&gt;Available m&lt;SPAN style="font-size: 13.3333px;"&gt;asterobject&lt;/SPAN&gt;: 0; []&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;Create 1 &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Masterobject&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;--&amp;gt; &lt;/SPAN&gt;Masterobject: "Revenue by Product" (tmaqpf) with 0 children(s) was created&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;Get all &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Masterobjects&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13.3333px;"&gt;--&amp;gt; &lt;/SPAN&gt;Available m&lt;SPAN style="font-size: 13.3333px;"&gt;asterobject&lt;/SPAN&gt;: 1; ["tmaqpf"]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;doSave()&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; --&amp;gt; &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Saved&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 07:20:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932744#M3341</guid>
      <dc:creator>countnazgul</dc:creator>
      <dc:date>2015-11-05T07:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Sense API behaviour?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932745#M3342</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps this is beside the point, but why are you deleting and recreating measures? Wouldn't it be easier to modify them?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 11:48:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932745#M3342</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2015-11-05T11:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Sense API behaviour?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932746#M3343</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Im using SerializeApp (&lt;A href="https://github.com/mindspank/serializeapp" title="https://github.com/mindspank/serializeapp"&gt;mindspank/serializeapp · GitHub&lt;/A&gt;) to create a "backup" of QS app. &lt;/P&gt;&lt;P&gt;And my idea is to have a script that can recreate all the objects from this json file.&lt;/P&gt;&lt;P&gt;But to be more correct i want to drop all the objects from the app first and then create the ones from the json file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 12:01:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932746#M3343</guid>
      <dc:creator>countnazgul</dc:creator>
      <dc:date>2015-11-05T12:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Sense API behaviour?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932747#M3344</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One problem is that if you try to create an object with an ID that Sense Engine thinks already exists, the engine will simply assign another ID. You should get the ID in the reply, documentation &lt;A href="http://help.qlik.com/sense/2.0/en-US/developer/#../Subsystems/EngineAPI/Content/Classes/AppClass/App-class-CreateMeasure-method.htm%3FTocPath%3DQlik%2520Sense%2520APIs%2520and%2520SDKs%7CQlik%2520Engine%2520API%7CClasses%7CApp%2520class%7C_____21"&gt;here. &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since you are recreating an app this is bad news: visualizations using the measure will probably&amp;nbsp; refer to it by the old id.&amp;nbsp; It would probably be safer to check if the measure already exists, and in that case modify it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 13:53:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932747#M3344</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2015-11-05T13:53:45Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Sense API behaviour?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932748#M3345</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes this is the case. But think that something somewhere is wrong. Because I don't have this issue with other object types (masterobjects, sheets etc) following the same workflow.&lt;/P&gt;&lt;P&gt;With other object types I can delete and then create the object and the result is new object with the correct id (not self generated one). With dimensions im deleting the object, check if it exists and the engine return false, create the dimension and the id is new (seems that the object still exists) which for me is not normal.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since I don't know what is modified I need to compare the old and the new object and then update only the different properties which applied to all object types might be pretty tricky task. For this reason I went with "delete-create" approach.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm kinda convinced myself that this is due to some issue with the API or for this object types different workflow need to be followed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 14:53:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932748#M3345</guid>
      <dc:creator>countnazgul</dc:creator>
      <dc:date>2015-11-05T14:53:16Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Sense API behaviour?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932749#M3346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This might be a bug, though probably in the engine itself rather than in the API's. Please report it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 07:16:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932749#M3346</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2015-11-06T07:16:42Z</dc:date>
    </item>
    <item>
      <title>Re: Weird Sense API behaviour?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932750#M3347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erik I will.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For future reference: I've solved it by modifying the existing objects instead of deleting them using setProperties and&lt;/P&gt;&lt;P&gt;setFullPropertyTree&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 11:41:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Weird-Sense-API-behaviour/m-p/932750#M3347</guid>
      <dc:creator>countnazgul</dc:creator>
      <dc:date>2015-11-06T11:41:37Z</dc:date>
    </item>
  </channel>
</rss>

