<?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 Help with Custom Extension in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Help-with-Custom-Extension/m-p/754899#M1240728</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I played a bit with creating this document extension but haven't had a lot of success. This extension is specific to just one application so it doesn't matter if I hard-code in object and variable names. Here's an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;QVW has 10 straight table charts.&lt;/LI&gt;&lt;LI&gt;I have created ten variables that are to contain the row count of each table, given any data selections.&lt;/LI&gt;&lt;LI&gt;The document extension keeps these ten variables updated with the current row count of each respective chart.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the extension simply needs to inspect each chart, get the current row count, set the corresponding variable to that row count. Should be easy but I don't know how to do it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2026-01-26T16:26:21Z</dc:date>
    <item>
      <title>Help with Custom Extension</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Custom-Extension/m-p/754899#M1240728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I played a bit with creating this document extension but haven't had a lot of success. This extension is specific to just one application so it doesn't matter if I hard-code in object and variable names. Here's an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;QVW has 10 straight table charts.&lt;/LI&gt;&lt;LI&gt;I have created ten variables that are to contain the row count of each table, given any data selections.&lt;/LI&gt;&lt;LI&gt;The document extension keeps these ten variables updated with the current row count of each respective chart.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So the extension simply needs to inspect each chart, get the current row count, set the corresponding variable to that row count. Should be easy but I don't know how to do it.&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/Help-with-Custom-Extension/m-p/754899#M1240728</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Custom Extension</title>
      <link>https://community.qlik.com/t5/QlikView/Help-with-Custom-Extension/m-p/754900#M1240731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So this seems to work. If anyone can help optimize this, probably by using a loop, I'd appreciate it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; var vDoc = Qv.GetCurrentDocument();&lt;/P&gt;&lt;P&gt;&amp;nbsp; var vCHTest1 = vDoc.GetObject("CHTest1"); &lt;/P&gt;&lt;P&gt;&amp;nbsp; var vCHTest2 = vDoc.GetObject("CHTest2");&lt;/P&gt;&lt;P&gt;&amp;nbsp; var vCHTest3 = vDoc.GetObject("CHTest3");&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp; vCHTest1.SetOnUpdateComplete(function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp; vRows = this.Data.TotalSize.y; &lt;/P&gt;&lt;P&gt;&amp;nbsp; vDoc.SetVariable("vCHTest1RowCount",vRows);&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&amp;nbsp; vCHTest2.SetOnUpdateComplete(function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp; vRows = this.Data.TotalSize.y; &lt;/P&gt;&lt;P&gt;&amp;nbsp; vDoc.SetVariable("vCHTest2RowCount",vRows);&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;P&gt;&amp;nbsp; vCHTest3.SetOnUpdateComplete(function() {&lt;/P&gt;&lt;P&gt;&amp;nbsp; vRows = this.Data.TotalSize.y; &lt;/P&gt;&lt;P&gt;&amp;nbsp; vDoc.SetVariable("vCHTest3RowCount",vRows);&lt;/P&gt;&lt;P&gt;&amp;nbsp; });&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Dec 2014 21:29:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Help-with-Custom-Extension/m-p/754900#M1240731</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-12-17T21:29:44Z</dc:date>
    </item>
  </channel>
</rss>

