<?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: Listening to Dimensions and measures properties in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Listening-to-Dimensions-and-measures-properties/m-p/1877197#M16110</link>
    <description>&lt;P&gt;Got it with 'layout.qHyperCube.qDimensionInfo' and qMeasureInfo&lt;/P&gt;</description>
    <pubDate>Tue, 04 Jan 2022 19:48:52 GMT</pubDate>
    <dc:creator>ChrisSL</dc:creator>
    <dc:date>2022-01-04T19:48:52Z</dc:date>
    <item>
      <title>Listening to Dimensions and measures properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Listening-to-Dimensions-and-measures-properties/m-p/1876798#M16105</link>
      <description>&lt;P&gt;I am working on an extension right now, which needs two hyperCubeDefs, which have 2 sets of arrangements from the main dimensions and measures in the properties.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am applying the dimensions and measures with applyPatches().&amp;nbsp; &amp;nbsp;&lt;/P&gt;
&lt;P&gt;In essence, everything works fine.&amp;nbsp; &amp;nbsp;What I would like to achieve though, but have not been successful so far, is to re-apply the changes each time I change the dimensions or measures in 'Edit' mode.&lt;/P&gt;
&lt;P&gt;So far, the closest I got, for having the extension work properly, is listening to the SelectionObject changes (which I need to do anyway in my extension).&amp;nbsp; &amp;nbsp; But although this gets called often, it will not get called when I add a new dimension or measure.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have seen posts that use something like this:&amp;nbsp; &amp;nbsp;( I have tried 'measures, 'layout.measures')&amp;nbsp; -- in the&amp;nbsp; "mounted"&amp;nbsp; function&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;this.$scope.$watchCollection('measures', (props) =&amp;gt; {
   ....
});	&lt;/LI-CODE&gt;
&lt;P&gt;The callback gets called on load, but nothing afterward.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How can I listen to the Dimensions and Measures changes?&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Jan 2022 20:10:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Listening-to-Dimensions-and-measures-properties/m-p/1876798#M16105</guid>
      <dc:creator>ChrisSL</dc:creator>
      <dc:date>2022-01-03T20:10:18Z</dc:date>
    </item>
    <item>
      <title>Re: Listening to Dimensions and measures properties</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Listening-to-Dimensions-and-measures-properties/m-p/1877197#M16110</link>
      <description>&lt;P&gt;Got it with 'layout.qHyperCube.qDimensionInfo' and qMeasureInfo&lt;/P&gt;</description>
      <pubDate>Tue, 04 Jan 2022 19:48:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Listening-to-Dimensions-and-measures-properties/m-p/1877197#M16110</guid>
      <dc:creator>ChrisSL</dc:creator>
      <dc:date>2022-01-04T19:48:52Z</dc:date>
    </item>
  </channel>
</rss>

