<?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 Quick Help on Extensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Quick-Help-on-Extensions/m-p/1294783#M1236614</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been looking into tutorials about Qlikview extensions for some time now and I still do not understand how the link is made between Qlikview data and the Javascript code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that all comes from &lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;this.Data.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Assuming I deal with one "dimension" and one "measure"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if &lt;SPAN style="font-size: 13.3333px;"&gt;r=this.Data.row&lt;N&gt;, &lt;/N&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;then the&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;nth value of my dimension&amp;nbsp;&amp;nbsp;&amp;nbsp; would be r0] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;and the&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nth value of my measure&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; would be r[1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But where do I define that I deal with one "dimension" and one "measure"? When I look at the Definition.xml file, it does not seem that the link is made there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Example here (good tutorial btw) : &lt;A href="http://qlikanddirty.com/2016/08/26/step2-linking-your-d3-chart-to-qlikview-data/" title="http://qlikanddirty.com/2016/08/26/step2-linking-your-d3-chart-to-qlikview-data/" target="_blank"&gt;Step2- Linking your D3 chart to Qlikview Data – Qlik and Dirty&lt;/A&gt;: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;(files are here : &lt;A href="http://qlikanddirty.com/wp-content/uploads/2016/08/02-Linked-to-Data.qar" title="http://qlikanddirty.com/wp-content/uploads/2016/08/02-Linked-to-Data.qar" target="_blank"&gt;http://qlikanddirty.com/wp-content/uploads/2016/08/02-Linked-to-Data.qar&lt;/A&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Definition.xml says&lt;/STRONG&gt; :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;lt;Dimension Label="Dimension 1" Initial="Path" TargetName="Dimension Name" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;lt;Measurement Label="Measure 1" Initial="Sum(Measure)"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;JS says :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;var row = _this.Data.Rows&lt;F&gt;;&lt;/F&gt;&lt;/P&gt;&lt;P&gt;var dim1 = row[0].text;&lt;/P&gt;&lt;P&gt;var measure1 = row[1].text;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any hints. &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>Quick Help on Extensions</title>
      <link>https://community.qlik.com/t5/QlikView/Quick-Help-on-Extensions/m-p/1294783#M1236614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've been looking into tutorials about Qlikview extensions for some time now and I still do not understand how the link is made between Qlikview data and the Javascript code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I understand that all comes from &lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;this.Data.&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Assuming I deal with one "dimension" and one "measure"&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;, &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if &lt;SPAN style="font-size: 13.3333px;"&gt;r=this.Data.row&lt;N&gt;, &lt;/N&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;then the&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt;"&gt;nth value of my dimension&amp;nbsp;&amp;nbsp;&amp;nbsp; would be r0] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;and the&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nth value of my measure&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; would be r[1]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;But where do I define that I deal with one "dimension" and one "measure"? When I look at the Definition.xml file, it does not seem that the link is made there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;Example here (good tutorial btw) : &lt;A href="http://qlikanddirty.com/2016/08/26/step2-linking-your-d3-chart-to-qlikview-data/" title="http://qlikanddirty.com/2016/08/26/step2-linking-your-d3-chart-to-qlikview-data/" target="_blank"&gt;Step2- Linking your D3 chart to Qlikview Data – Qlik and Dirty&lt;/A&gt;: &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;(files are here : &lt;A href="http://qlikanddirty.com/wp-content/uploads/2016/08/02-Linked-to-Data.qar" title="http://qlikanddirty.com/wp-content/uploads/2016/08/02-Linked-to-Data.qar" target="_blank"&gt;http://qlikanddirty.com/wp-content/uploads/2016/08/02-Linked-to-Data.qar&lt;/A&gt; )&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;STRONG&gt;Definition.xml says&lt;/STRONG&gt; :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;lt;Dimension Label="Dimension 1" Initial="Path" TargetName="Dimension Name" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt; &amp;lt;Measurement Label="Measure 1" Initial="Sum(Measure)"/&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;JS says :&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;...&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;var row = _this.Data.Rows&lt;F&gt;;&lt;/F&gt;&lt;/P&gt;&lt;P&gt;var dim1 = row[0].text;&lt;/P&gt;&lt;P&gt;var measure1 = row[1].text;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for any hints. &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/Quick-Help-on-Extensions/m-p/1294783#M1236614</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Help on Extensions</title>
      <link>https://community.qlik.com/t5/QlikView/Quick-Help-on-Extensions/m-p/1294784#M1236615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;'Data' is a JavaScript Array (actually, it's an Array of arrays, ie. a 2-dimensional object - just like a QlikView Straight Table).&lt;/P&gt;&lt;P&gt;The 'Data' array your JavaScript interacts with is part of the JavaScript API that QlikTech have exposed to the developer.&lt;/P&gt;&lt;P&gt;It's the 'portal' through which your Extension gets access to its host's (ie. QlikView's) data.&lt;BR /&gt;The 'Data' array is created from the Dimension and Measurement tags you define in Definition.xml.&lt;BR /&gt;To control what each Dimension and Measurement hold, you can use the 'Initiate' tag in Definition.xml.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Dimension Label="Dim1" Initial=""/&amp;gt;&lt;BR /&gt;&amp;lt;Dimension Label="Dim2" Initial=""/&amp;gt;&lt;BR /&gt;&amp;lt;Dimension Label="Dim3" Initial=""/&amp;gt;&lt;BR /&gt;&amp;lt;Measurement Label="Measure1" Initial=""/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;Initiate Name="Chart.Dimension.0.Field" Value="City"/&amp;gt;&lt;BR /&gt;&amp;lt;Initiate Name="Chart.Dimension.1.Field" Value="Longitude"/&amp;gt;&lt;BR /&gt;&amp;lt;Initiate Name="Chart.Dimension.2.Field" Value="Latitude"/&amp;gt;&lt;BR /&gt;&amp;lt;Initiate Name="Chart.Expression.0.0.Definition" Value="Sum(Population)"/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here I've created 3 Dimensions and 1 Measurement and defined what each holds.&amp;nbsp; This XML will lead to a 'Data' object with column 0 (JavaScript arrays are zero-based) having the values for 'City', column 1 having the values for 'Longitude', column 2 having the values for 'Latitude' and, finally, column 3 having the values for the SUM of 'Population'.&amp;nbsp; Think of it like a QlikView Straight Table with 3 Dimensions and 1 Expression (Measurement).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above code comes from an Extension I created to use the LeafletJS library.&lt;/P&gt;&lt;P&gt;You can get the whole code from &lt;A href="https://github.com/hammondmason/QlikViewExtensions/tree/master/LeafletJS"&gt;my GitHub repo&lt;/A&gt; in case you want to see how it works. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/grin.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 30 Jun 2017 13:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Quick-Help-on-Extensions/m-p/1294784#M1236615</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-30T13:17:31Z</dc:date>
    </item>
  </channel>
</rss>

