<?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: Get Selected - Timing Issue? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Get-Selected-Timing-Issue/m-p/537429#M1234569</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so I have made some headway through some massive google searches, code spelunking of open source extensions, api documentation and the like. Attached is my latest Script.js, it is a mess right now but the modifications are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Made use of qva.GetQVObject within a callback function inside of setup().&lt;/P&gt;&lt;P&gt;- Made use of this within callback function instead of object name&lt;/P&gt;&lt;P&gt;- Removed _this = this*&amp;nbsp; (may not have been necessary?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not had any of the above error windows pop up yet, granted been testing for 5 minutes. I also can now see the text of both listboxes inside of alerts. I am however seeing them too may times, 3 in total, so I am assuming I am not 'stacking' callbacks on top of each other but something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I guess my question now becomes, can someone make sure I have my callbacks setup correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks to all who post code, share code, open source code, reply to comments, etc , it has been extremely helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 31 Dec 2013 16:27:53 GMT</pubDate>
    <dc:creator>jeremy_fourman</dc:creator>
    <dc:date>2013-12-31T16:27:53Z</dc:date>
    <item>
      <title>Get Selected - Timing Issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Selected-Timing-Issue/m-p/537428#M1234564</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;Thanks for any help offered, hoping you extension experts can lend me a hand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to develop an extension for the following use case:&lt;/P&gt;&lt;P&gt;- A user selects from a listbox (ootb control) a comment category&lt;/P&gt;&lt;P&gt;- A users enters a comment into a textbox (extension object)&lt;/P&gt;&lt;P&gt;- The extension object gets the Selected values from the comment category&lt;/P&gt;&lt;P&gt;- The extension object gets the Enabled values from another listbox (ootb control)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;During development though I keep bumping up against the following error 'Object does not support this method or property'. Strange thing is this only happens every_so_often, usually between two or three clicks within a listbox, or by changing state of the document. I am assuming this is a timing issue, an object not being complete. It always complains of GetSelected or GetEnabled when I uncomment the associated code for reading the other listbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG.png" class="jive-image" height="183" src="https://community.qlik.com/legacyfs/online/50945_Capture.PNG.png" width="292" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also would like to be able to get to the enabled values of another listbox, not selected, a user will not be interacting with it, I just need to get the single value that will be enabled. However I cannot seem to get access to GetEnabled on this other object after the first reference is created using GetSelected. That code is currently commented out in the attached Script.js&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So basically, when using the extension, I select a comment category, key or not key in a comment and hit submit. Sometimes the proper alert window pops up, either showing me the comment or not which is great but every couple try's I get the above error message. And then of course I would like to be able to get to the enabled values of other listboxes as well for some business rules I need to apply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The attached example does illustrate the problem I have at least on_my_machine. Windows 7 32b, IE 10, 11.2 SR2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imagine it is a development/code issue at this point, just having a real hard time trying finding where I am going wrong. I will gladly provide more details if needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;-Jeremy&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &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/Get-Selected-Timing-Issue/m-p/537428#M1234564</guid>
      <dc:creator>jeremy_fourman</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Get Selected - Timing Issue?</title>
      <link>https://community.qlik.com/t5/QlikView/Get-Selected-Timing-Issue/m-p/537429#M1234569</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so I have made some headway through some massive google searches, code spelunking of open source extensions, api documentation and the like. Attached is my latest Script.js, it is a mess right now but the modifications are&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Made use of qva.GetQVObject within a callback function inside of setup().&lt;/P&gt;&lt;P&gt;- Made use of this within callback function instead of object name&lt;/P&gt;&lt;P&gt;- Removed _this = this*&amp;nbsp; (may not have been necessary?)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have not had any of the above error windows pop up yet, granted been testing for 5 minutes. I also can now see the text of both listboxes inside of alerts. I am however seeing them too may times, 3 in total, so I am assuming I am not 'stacking' callbacks on top of each other but something else?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So I guess my question now becomes, can someone make sure I have my callbacks setup correctly?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks to all who post code, share code, open source code, reply to comments, etc , it has been extremely helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Dec 2013 16:27:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Get-Selected-Timing-Issue/m-p/537429#M1234569</guid>
      <dc:creator>jeremy_fourman</dc:creator>
      <dc:date>2013-12-31T16:27:53Z</dc:date>
    </item>
  </channel>
</rss>

