<?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 QV 10 SR3: qva.GetQvObject behaves incorrectly in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QV-10-SR3-qva-GetQvObject-behaves-incorrectly/m-p/265656#M1236088</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your issue sounds similar to one I recently logged to the support team.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Our issue was the the onUpdate event was not being called for a specificChart Object.&amp;nbsp; We worked around this issue by deleting the chart andrecreating one from scratch - after we did that the onUpdate event firedproperly. The thinking is the object some how got corrupted in the .qvw. - doesn't make much sense to me but deleting the old Chart and creating a new Chart made the issue go away. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) I don't recommend it, but if you are really wanted an alternate to on update you could hack the JavaScript to execute a function when the QvaPublic object is defined.&amp;nbsp; Again, not recommended but incase you have no other options... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var myOnUpdateFunction =function () {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert("fired");&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var myObject =qva.GetQvObject("ch01", function () {});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var oldPaint =myObject.Paint;&amp;nbsp; // make a copy of this function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myObject.Paint = function () {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oldPaint.apply(this, arguments);&amp;nbsp; // call the old function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(typeof (this.QvaPublic) !== "undefined") { // paint is where theQvaPublic api gets added on.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&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; myOnUpdateFunction.apply(this);&amp;nbsp; // call the onupdate function when the object exists.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 18 Aug 2011 19:14:14 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-08-18T19:14:14Z</dc:date>
    <item>
      <title>QV 10 SR3: qva.GetQvObject behaves incorrectly</title>
      <link>https://community.qlik.com/t5/QlikView/QV-10-SR3-qva-GetQvObject-behaves-incorrectly/m-p/265655#M1236087</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm developing extension which works OK under QV10 SR2. However, under SR3 it fails because method &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;qva.GetQvObject("ID", callback)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;calls callback function before the object is ready, despite it supposed to call it after. In my case callback function is called when a listbox doesn't yet have &lt;EM&gt;Data&lt;/EM&gt; and &lt;EM&gt;Layout.Caption&lt;/EM&gt; members which leads to errors and complete misfunctioning.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Questions to community:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Could someone please report the problem to QlikTech team, as I don't have access to Support (I'm using Personal Edition).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Does anybody know any workarounds how to get a function called upon change in a listbox without using callback function in GetQvObject?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QlikTech support said that this is known bug but they have no any assumptions when it will be resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I stick to SR2 as to more stable release for extensions.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-10-SR3-qva-GetQvObject-behaves-incorrectly/m-p/265655#M1236087</guid>
      <dc:creator />
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>QV 10 SR3: qva.GetQvObject behaves incorrectly</title>
      <link>https://community.qlik.com/t5/QlikView/QV-10-SR3-qva-GetQvObject-behaves-incorrectly/m-p/265656#M1236088</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think your issue sounds similar to one I recently logged to the support team.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Our issue was the the onUpdate event was not being called for a specificChart Object.&amp;nbsp; We worked around this issue by deleting the chart andrecreating one from scratch - after we did that the onUpdate event firedproperly. The thinking is the object some how got corrupted in the .qvw. - doesn't make much sense to me but deleting the old Chart and creating a new Chart made the issue go away. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) I don't recommend it, but if you are really wanted an alternate to on update you could hack the JavaScript to execute a function when the QvaPublic object is defined.&amp;nbsp; Again, not recommended but incase you have no other options... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var myOnUpdateFunction =function () {&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; alert("fired");&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var myObject =qva.GetQvObject("ch01", function () {});&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var oldPaint =myObject.Paint;&amp;nbsp; // make a copy of this function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; myObject.Paint = function () {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; oldPaint.apply(this, arguments);&amp;nbsp; // call the old function&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(typeof (this.QvaPublic) !== "undefined") { // paint is where theQvaPublic api gets added on.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&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; myOnUpdateFunction.apply(this);&amp;nbsp; // call the onupdate function when the object exists.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; };&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 19:14:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-10-SR3-qva-GetQvObject-behaves-incorrectly/m-p/265656#M1236088</guid>
      <dc:creator />
      <dc:date>2011-08-18T19:14:14Z</dc:date>
    </item>
    <item>
      <title>QV 10 SR3: qva.GetQvObject behaves incorrectly</title>
      <link>https://community.qlik.com/t5/QlikView/QV-10-SR3-qva-GetQvObject-behaves-incorrectly/m-p/265657#M1236091</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;JuliusHutzler&lt;/STRONG&gt;, thanks for sharing ideas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I played a lot with this bug and tried recreate objects also. The problem is caused by asyncronous creation of QV objects in AJAX mode -- if the object you are trying to tie to was constructed before your object -- it works fine. If not -- it fires before time. So be careful as in your case it might be just happy coincendence. In my case from 4 lisboxes in random situations either 1 or all 4 were unavailable, even if I recreated them from scratch.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let's see if QlikTech will fix the bug in SR4. If not -- probably your solution will be the only viable case. I might only need to test it whether it can work correctly with selection change in lisboxes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Aug 2011 20:13:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QV-10-SR3-qva-GetQvObject-behaves-incorrectly/m-p/265657#M1236091</guid>
      <dc:creator />
      <dc:date>2011-08-18T20:13:47Z</dc:date>
    </item>
  </channel>
</rss>

