<?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: Setting Dimensions in Definition.xml in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Setting-Dimensions-in-Definition-xml/m-p/427918#M1235552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've answered number 2) for myself with some more investigation.&lt;/P&gt;&lt;P&gt;The answer is use the following term:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Initiate Name="Chart.Expression.0.0.Definition" Value="Avg(VALUE_NUMBER)" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which I think is a tad unintuitive. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the record, I found this information in the SDK documentation here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikcommunity.s3.amazonaws.com/misc/Qv11/qvproperties.htm"&gt;http://qlikcommunity.s3.amazonaws.com/misc/Qv11/qvproperties.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which has lots of other interesting information, and is linked from the main SDK page for QlikView Version 11 which is here: &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-2639"&gt;http://community.qlik.com/docs/DOC-2639&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 31 May 2013 14:51:04 GMT</pubDate>
    <dc:creator>justin_morley</dc:creator>
    <dc:date>2013-05-31T14:51:04Z</dc:date>
    <item>
      <title>Setting Dimensions in Definition.xml</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Dimensions-in-Definition-xml/m-p/427915#M1235549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;First time attempting to use Qlikview extensions and finding it difficult with the lack of decent documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm familiarising myself with how extensions work and have given myself the simple task of seeing how to filter data within an extension.&amp;nbsp; I'm using the extension provided with Qlikview documentation entitled 'template'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The Definition.xml looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;?xml version="1.0" encoding="utf-8"?&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;ExtensionObject Label="template" Description="base template for extension object" PageHeight="50000"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Dimension Label="Dimension 1" Initial="Path" TargetName="Dimension Name" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Dimension Label="Dimension 2" Initial="Measure" TargetName="Dimension Name" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &amp;lt;Measurement Label="Measure 1" Initial="Sum(Measure)"/&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Text Label="Text Box 1" Type="text" Expression="TITLE"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Text Label="Checkbox 1" Type="checkbox" Initial="" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Text Label="selectBox 1" Type="select" Select="select1,select2,select3" SelectLabel="selectL1,selectL2,selectL3" Expression="selectL3"/&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Initiate Name="Chart.Title" value="Object Template" /&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Initiate Name="Caption.Text" Value="Object Template" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/ExtensionObject&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No matter what I change the Dimension 'Initial' attribute to be, such as 'STUDY' which is a dimension within my dataset, the initial dimensions within the extension when I drag it onto Qlikview Webview, are always something else.&amp;nbsp; When I change these values within the properties of the extension once it is in Qlikview, it works okay. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My question is how do I set which Dimensions I wish to see when the extension is dragged into Qlikview?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope I've explained myself clearly.&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;Darren.&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/Setting-Dimensions-in-Definition-xml/m-p/427915#M1235549</guid>
      <dc:creator />
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Dimensions in Definition.xml</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Dimensions-in-Definition-xml/m-p/427916#M1235550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use the Initiate tag for dimension, too, e.g.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;Initiate&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;Chart.Dimension.0.Field&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;Country&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #a31515;"&gt;Initiate&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;Name&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;Chart.Dimension.1.Field&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: red;"&gt;Value&lt;/SPAN&gt;&lt;SPAN style="color: blue;"&gt;=&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt;Region&lt;/SPAN&gt;"&lt;SPAN style="color: blue;"&gt; /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;Stefan&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 12:32:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Dimensions-in-Definition-xml/m-p/427916#M1235550</guid>
      <dc:creator>Stefan_Walther</dc:creator>
      <dc:date>2013-05-31T12:32:23Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Dimensions in Definition.xml</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Dimensions-in-Definition-xml/m-p/427917#M1235551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Stefan,&lt;/P&gt;&lt;P&gt;Thanks for the reply, I'm a colleague of Darren's continuing his investigation, and your answer worked fine up to a point - I'm looking at the next two problems:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) My XML now contains this:&lt;/P&gt;&lt;P&gt; &amp;lt;Dimension Initial="STUDY" Label="Dimension 1" /&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Initiate Name="Chart.Dimension.0.Field" Value="STUDY" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Dimension Initial="GROUP_ID" Label="Dimension 2" /&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Initiate Name="Chart.Dimension.1.Field" Value="GROUP_ID" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Dimension Initial="THING" Label="Dimension 3" /&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Initiate Name="Chart.Dimension.2.Field" Value="THING" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I right-click on my new object in the Ajax client, I see 3 dimensions, labelled 1, 2 and 3, and the first is initiated to STUDY and the second to GROUP_ID.&lt;/P&gt;&lt;P&gt;The third dimension field however is blank, as if you can only initiate a maximum of two dimensions. Is this the case or am I doing something else wrong?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) How do I similarly pre-populate my incoming Measurements?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Measurement Label="Measure 1" Initial="Sum(Measure)"/&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Initiate Name="Chart.Measurement.0.Field" Value="Avg(VALUE_NUMBER)" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above lines in XML don't seem to work. I can't find any documentation about how to use the QV object model as above. What exactly is "Chart" in this context? Will the API documentation help me because I can't seem to find a "Chart" object type?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks very much,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Justin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 14:26:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Dimensions-in-Definition-xml/m-p/427917#M1235551</guid>
      <dc:creator>justin_morley</dc:creator>
      <dc:date>2013-05-31T14:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: Setting Dimensions in Definition.xml</title>
      <link>https://community.qlik.com/t5/QlikView/Setting-Dimensions-in-Definition-xml/m-p/427918#M1235552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've answered number 2) for myself with some more investigation.&lt;/P&gt;&lt;P&gt;The answer is use the following term:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &amp;lt;Initiate Name="Chart.Expression.0.0.Definition" Value="Avg(VALUE_NUMBER)" /&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;which I think is a tad unintuitive. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the record, I found this information in the SDK documentation here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://qlikcommunity.s3.amazonaws.com/misc/Qv11/qvproperties.htm"&gt;http://qlikcommunity.s3.amazonaws.com/misc/Qv11/qvproperties.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;which has lots of other interesting information, and is linked from the main SDK page for QlikView Version 11 which is here: &lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-2639"&gt;http://community.qlik.com/docs/DOC-2639&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 May 2013 14:51:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Setting-Dimensions-in-Definition-xml/m-p/427918#M1235552</guid>
      <dc:creator>justin_morley</dc:creator>
      <dc:date>2013-05-31T14:51:04Z</dc:date>
    </item>
  </channel>
</rss>

