<?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 Change master dimension or measure of visualization with Engine API in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Change-master-dimension-or-measure-of-visualization-with-Engine/m-p/1531746#M9880</link>
    <description>&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F311920986%3Fapp_id%3D122963&amp;amp;dntp=1&amp;amp;display_name=Vimeo&amp;amp;url=https%3A%2F%2Fvimeo.com%2F311920986&amp;amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F752845438-51e2a9e57f58c42e1311c3a10996220ca73b0850fd019a56210c956b1e1851ff-d_1280%3Fregion%3Dus&amp;amp;type=text%2Fhtml&amp;amp;schema=vimeo" width="200" height="112" scrolling="no" title="Qlik_Mashup_ApplyPatch_Bug" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm using javascript to send commands to the Qlik Sense server engine, and using the ApplyPatches method on existing visualizations to change the master dimension or measure, to another master dimension or measure. The engine accepts the change, and a GetEffectiveProperties on the object shows the change to the dimension/measure has occurred in the qHyperCubeDef, but the change never gets persisted, even after a DoSave. Therefore, when I refresh&amp;nbsp; my mashup, the object reverts back to the original state. However, I've found that if I clear my cache and hard reload Chrome, I can successfully apply a single change to either the dimension and/or measure 100% of the time, but if I try to make a change again it DOES NOT work, unless I also change another property on the object (i.e. Change the dimension AND title), OR clear my cache and reload Chrome would work again as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I only change the title, using ApplyPatches, then DoSave, it works 100% of the time. I'm only having issues persisting the changes to the master dimensions/measures.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any assistance would be appreciated. I've also attached a video to be seen.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Colin&lt;/P&gt;</description>
    <pubDate>Thu, 17 Jan 2019 18:14:40 GMT</pubDate>
    <dc:creator>colinfly88</dc:creator>
    <dc:date>2019-01-17T18:14:40Z</dc:date>
    <item>
      <title>Change master dimension or measure of visualization with Engine API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Change-master-dimension-or-measure-of-visualization-with-Engine/m-p/1531746#M9880</link>
      <description>&lt;P&gt;&lt;div class="video-embed-center video-embed"&gt;&lt;iframe class="embedly-embed" src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fplayer.vimeo.com%2Fvideo%2F311920986%3Fapp_id%3D122963&amp;amp;dntp=1&amp;amp;display_name=Vimeo&amp;amp;url=https%3A%2F%2Fvimeo.com%2F311920986&amp;amp;image=https%3A%2F%2Fi.vimeocdn.com%2Fvideo%2F752845438-51e2a9e57f58c42e1311c3a10996220ca73b0850fd019a56210c956b1e1851ff-d_1280%3Fregion%3Dus&amp;amp;type=text%2Fhtml&amp;amp;schema=vimeo" width="200" height="112" scrolling="no" title="Qlik_Mashup_ApplyPatch_Bug" frameborder="0" allow="autoplay; fullscreen; encrypted-media; picture-in-picture;" allowfullscreen="true"&gt;&lt;/iframe&gt;&lt;/div&gt;Hi All,&lt;/P&gt;&lt;P&gt;I'm using javascript to send commands to the Qlik Sense server engine, and using the ApplyPatches method on existing visualizations to change the master dimension or measure, to another master dimension or measure. The engine accepts the change, and a GetEffectiveProperties on the object shows the change to the dimension/measure has occurred in the qHyperCubeDef, but the change never gets persisted, even after a DoSave. Therefore, when I refresh&amp;nbsp; my mashup, the object reverts back to the original state. However, I've found that if I clear my cache and hard reload Chrome, I can successfully apply a single change to either the dimension and/or measure 100% of the time, but if I try to make a change again it DOES NOT work, unless I also change another property on the object (i.e. Change the dimension AND title), OR clear my cache and reload Chrome would work again as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I only change the title, using ApplyPatches, then DoSave, it works 100% of the time. I'm only having issues persisting the changes to the master dimensions/measures.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any assistance would be appreciated. I've also attached a video to be seen.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Colin&lt;/P&gt;</description>
      <pubDate>Thu, 17 Jan 2019 18:14:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Change-master-dimension-or-measure-of-visualization-with-Engine/m-p/1531746#M9880</guid>
      <dc:creator>colinfly88</dc:creator>
      <dc:date>2019-01-17T18:14:40Z</dc:date>
    </item>
    <item>
      <title>Re: Change master dimension or measure of visualization with Engine API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Change-master-dimension-or-measure-of-visualization-with-Engine/m-p/1532353#M9881</link>
      <description>&lt;P&gt;What I have done as a workaround for the time being, is that with each property change, I am removing, then repopulating the value of a property that has no overall effect on the chart object. By toggling a non-master object property, then applying DoSave(), my mashup works as I would like for it to. Definitely not perfect or ideal, so some insight into the behavior would still be appreciated. Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 20:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Change-master-dimension-or-measure-of-visualization-with-Engine/m-p/1532353#M9881</guid>
      <dc:creator>colinfly88</dc:creator>
      <dc:date>2019-01-18T20:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Change master dimension or measure of visualization with Engine API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Change-master-dimension-or-measure-of-visualization-with-Engine/m-p/1532926#M9884</link>
      <description>&lt;P&gt;Can you provide a sample mashup to rebuild the issue and test with latest version?&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 22:15:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Change-master-dimension-or-measure-of-visualization-with-Engine/m-p/1532926#M9884</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2019-01-21T22:15:37Z</dc:date>
    </item>
  </channel>
</rss>

