<?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 How to retrieve current selections from AJAX ZFC Document in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-retrieve-current-selections-from-AJAX-ZFC-Document/m-p/174527#M1311721</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The QlikView ZFC client (including the FruitColor sample) works in a slightly different way to the OCX API you are probably used to using in the .NET version of your app.&lt;/P&gt;&lt;P&gt;The API obviously works by calling methods on the interface when you need something back or need to update something.&lt;/P&gt;&lt;P&gt;With the ZFC client you register the objects in the QlikView document you are 'interested in' and then each time their state changes you get back the new data in an xml response.&lt;/P&gt;&lt;P&gt;It's a bit difficult to advise not knowing exactly what your app does but if you think the ZFC client can support it then you could add a text box to your QlikView application which displays the current active selections (i.e. the result of ActiveDocument.GetCurrentSelections())and then adapt the FruitColor example to use this object. You could also look at the QlikView Workbench which has a number of ASP.NET and JavaScript controls for this type of thing.&lt;/P&gt;&lt;P&gt;If you need to communicate with the API as in your current application then it should also be possible to do this from your web page although I don't have any sample code to post here at present.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Nov 2009 20:11:06 GMT</pubDate>
    <dc:creator>chrisbrain</dc:creator>
    <dc:date>2009-11-30T20:11:06Z</dc:date>
    <item>
      <title>How to retrieve current selections from AJAX ZFC Document</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-retrieve-current-selections-from-AJAX-ZFC-Document/m-p/174526#M1311719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am porting a .NET desktop application coded in C# to the web.&lt;/P&gt;&lt;P&gt;I am currently looking at a specific API: &lt;B&gt;ActiveDocument.GetCurrentSelections()&lt;/B&gt; supported by &lt;B&gt;AxQlikOCXLib.AxQlikOCX&lt;/B&gt; OCX component. The API returns the current active selections as key value pairs, used to achieve a certain functionality in the host .NET application.&lt;/P&gt;&lt;P&gt;I want to achieve the same while using AJAX ZFC client. I went through the only example (FruitColor) explaining AJAX API's in the QlikView SDK, but no luck yet.&lt;/P&gt;&lt;P&gt;Can anybody provide some pointers/javascript snippets on how to achieve the functionality provided by &lt;B&gt;ActiveDocument.GetCurrentSelections()&lt;/B&gt; through AJAX ZFC client?&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ashwin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-retrieve-current-selections-from-AJAX-ZFC-Document/m-p/174526#M1311719</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>How to retrieve current selections from AJAX ZFC Document</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-retrieve-current-selections-from-AJAX-ZFC-Document/m-p/174527#M1311721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The QlikView ZFC client (including the FruitColor sample) works in a slightly different way to the OCX API you are probably used to using in the .NET version of your app.&lt;/P&gt;&lt;P&gt;The API obviously works by calling methods on the interface when you need something back or need to update something.&lt;/P&gt;&lt;P&gt;With the ZFC client you register the objects in the QlikView document you are 'interested in' and then each time their state changes you get back the new data in an xml response.&lt;/P&gt;&lt;P&gt;It's a bit difficult to advise not knowing exactly what your app does but if you think the ZFC client can support it then you could add a text box to your QlikView application which displays the current active selections (i.e. the result of ActiveDocument.GetCurrentSelections())and then adapt the FruitColor example to use this object. You could also look at the QlikView Workbench which has a number of ASP.NET and JavaScript controls for this type of thing.&lt;/P&gt;&lt;P&gt;If you need to communicate with the API as in your current application then it should also be possible to do this from your web page although I don't have any sample code to post here at present.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 20:11:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-retrieve-current-selections-from-AJAX-ZFC-Document/m-p/174527#M1311721</guid>
      <dc:creator>chrisbrain</dc:creator>
      <dc:date>2009-11-30T20:11:06Z</dc:date>
    </item>
    <item>
      <title>How to retrieve current selections from AJAX ZFC Document</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-retrieve-current-selections-from-AJAX-ZFC-Document/m-p/174528#M1311722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Registering event handlers on Objects in QlikView document might be one of the ways (need to explore this further), But I am specifically looking at a solution that can capture the current state of QlikView document on an external event, like on click of a button in the host html page.&lt;/P&gt;&lt;P&gt;The client Application is developed using Java/GWT, hence I need a javascript solution/API to achieve the same. Any help/pointers to similar javascript solutions will be extremely helpful.&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Ashwin&lt;/P&gt;&lt;P&gt;PS: Pardon my shallow knowledge of QlikView, I am just getting started.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 20:24:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-retrieve-current-selections-from-AJAX-ZFC-Document/m-p/174528#M1311722</guid>
      <dc:creator />
      <dc:date>2009-11-30T20:24:13Z</dc:date>
    </item>
    <item>
      <title>How to retrieve current selections from AJAX ZFC Document</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-retrieve-current-selections-from-AJAX-ZFC-Document/m-p/174529#M1311724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can have a look at http://community.qlik.com/forums/p/19549/80264.aspx where i explained what i knew about calling standard API methods using the qvpx protocol&lt;/P&gt;&lt;P&gt;also, are you really interested in the value of the current selection, or do you just want to know if it is different from another selection made before ?&lt;/P&gt;&lt;P&gt;retrieving the key value pairs can be very time consuming when they contain a lot of values, and i guess doing it over a network should be even longer. In my project i don't need to know what the exact selection is, i just have to be notified when it changes, so I only evaluate the expression "hash128(GetCurrentSelections('', '', '', 100000))" which is really faster and compare it to the last selection hash code i got&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Nov 2009 21:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-retrieve-current-selections-from-AJAX-ZFC-Document/m-p/174529#M1311724</guid>
      <dc:creator />
      <dc:date>2009-11-30T21:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve current selections from AJAX ZFC Document</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-retrieve-current-selections-from-AJAX-ZFC-Document/m-p/174530#M1311725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The link &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/forums/p/19549/80264.aspx" rel="nofollow" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;http://community.qlik.com/forums/p/19549/80264.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;is broken. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 19:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-retrieve-current-selections-from-AJAX-ZFC-Document/m-p/174530#M1311725</guid>
      <dc:creator />
      <dc:date>2015-11-20T19:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to retrieve current selections from AJAX ZFC Document</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-retrieve-current-selections-from-AJAX-ZFC-Document/m-p/174531#M1311726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The link&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt; &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://community.qlik.com/forums/p/19549/80264.aspx" rel="nofollow" style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3778c7;"&gt;http://community.qlik.com/forums/p/19549/80264.aspx&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in your reply to&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A href="https://community.qlik.com/message/19859"&gt;How to retrieve current selections from AJAX ZFC Document&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;A _jive_internal="true" href="https://community.qlik.com/message/19859#19859" title="https://community.qlik.com/message/19859#19859"&gt;https://community.qlik.com/message/19859#19859&lt;/A&gt;&lt;/P&gt;&lt;P&gt;is broken.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Nov 2015 19:33:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-retrieve-current-selections-from-AJAX-ZFC-Document/m-p/174531#M1311726</guid>
      <dc:creator />
      <dc:date>2015-11-20T19:33:49Z</dc:date>
    </item>
  </channel>
</rss>

