<?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 Bind qListObjectDef to a user selected dimension in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bind-qListObjectDef-to-a-user-selected-dimension/m-p/1800205#M14774</link>
    <description>&lt;P&gt;I want the user to be able to select a field or a master dimension and bind it to he qListObjectDef object. The&amp;nbsp; panel correctly displays an input expression for allowing a field to be selected but I don't see a dimension picker if the user wants to select a master dimension. I thought the "library-item" component would allow a master dimension to be selected.&amp;nbsp; For reference I am using the following &lt;A href="https://extendingqlik.upper88.com/page/6/" target="_blank" rel="noopener"&gt;tutorial&lt;/A&gt;&amp;nbsp;as a guide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;label: {
	type: "string",
	ref: "qListObjectDef.qDef.qFieldLabels.0",
	label: "Label",
	show: true
},
libraryId: {
	type: "string",
	component: "library-item",
	libraryItemType: "dimension",
	ref: "qListObjectDef.qLibraryId",
	label: "Dimension",
	show: function(data) {
		return data.qListObjectDef &amp;amp;&amp;amp; data.qListObjectDef.qLibraryId;
	}
},
field: {
	type: "string",
	expression: "always",
	expressionType: "dimension",
	ref: "qListObjectDef.qDef.qFieldDefs.0",
	label: "Field",
	show: function(data) {
		return data.qListObjectDef &amp;amp;&amp;amp; !data.qListObjectDef.qLibraryId;
	}
}
								&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="PropertyPanelCapture.PNG" style="width: 314px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53174iFF028A007C7C8D90/image-size/large?v=v2&amp;amp;px=999" role="button" title="PropertyPanelCapture.PNG" alt="PropertyPanelCapture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Apr 2021 18:19:43 GMT</pubDate>
    <dc:creator>devan9876</dc:creator>
    <dc:date>2021-04-16T18:19:43Z</dc:date>
    <item>
      <title>Bind qListObjectDef to a user selected dimension</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bind-qListObjectDef-to-a-user-selected-dimension/m-p/1800205#M14774</link>
      <description>&lt;P&gt;I want the user to be able to select a field or a master dimension and bind it to he qListObjectDef object. The&amp;nbsp; panel correctly displays an input expression for allowing a field to be selected but I don't see a dimension picker if the user wants to select a master dimension. I thought the "library-item" component would allow a master dimension to be selected.&amp;nbsp; For reference I am using the following &lt;A href="https://extendingqlik.upper88.com/page/6/" target="_blank" rel="noopener"&gt;tutorial&lt;/A&gt;&amp;nbsp;as a guide.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;label: {
	type: "string",
	ref: "qListObjectDef.qDef.qFieldLabels.0",
	label: "Label",
	show: true
},
libraryId: {
	type: "string",
	component: "library-item",
	libraryItemType: "dimension",
	ref: "qListObjectDef.qLibraryId",
	label: "Dimension",
	show: function(data) {
		return data.qListObjectDef &amp;amp;&amp;amp; data.qListObjectDef.qLibraryId;
	}
},
field: {
	type: "string",
	expression: "always",
	expressionType: "dimension",
	ref: "qListObjectDef.qDef.qFieldDefs.0",
	label: "Field",
	show: function(data) {
		return data.qListObjectDef &amp;amp;&amp;amp; !data.qListObjectDef.qLibraryId;
	}
}
								&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="PropertyPanelCapture.PNG" style="width: 314px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/53174iFF028A007C7C8D90/image-size/large?v=v2&amp;amp;px=999" role="button" title="PropertyPanelCapture.PNG" alt="PropertyPanelCapture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Apr 2021 18:19:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Bind-qListObjectDef-to-a-user-selected-dimension/m-p/1800205#M14774</guid>
      <dc:creator>devan9876</dc:creator>
      <dc:date>2021-04-16T18:19:43Z</dc:date>
    </item>
    <item>
      <title>Re: Bind qListObjectDef to a user selected dimension</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Bind-qListObjectDef-to-a-user-selected-dimension/m-p/1813114#M15063</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have the same problem, I thought that&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;expressionType: "dimension",&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;will allow to select dimension either from master dimension list or from field list or expression just as for ex. when setting colors:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="datawizards1234_0-1622853885643.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56360i7A4F0E9570A4E4E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="datawizards1234_0-1622853885643.png" alt="datawizards1234_0-1622853885643.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but it doesn't work like that. That is undocumented and this sample code that comes with qlik sense installation is wrong, because it doesn't work in a way it was intended.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Does anyone know how to select dimensions from some kind of list so that I can update&amp;nbsp;qListObjectDef?&lt;/P&gt;&lt;P&gt;With standard component for dimensions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;dimensions: {uses: "dimensions"}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;there is a different problem that from my understanding hypercube needs to be defined, and I don't want to do that, because I only want listobject, any ideas?&lt;/P&gt;&lt;P&gt;Error on selecting dimension with above component and listobject defined in initial properties:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="datawizards1234_2-1622855068130.png" style="width: 999px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/56363i34100D8AF1CB88B2/image-size/large?v=v2&amp;amp;px=999" role="button" title="datawizards1234_2-1622855068130.png" alt="datawizards1234_2-1622855068130.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From what I observed is that above dimension component automatically creates hypercube even when it's not in initial properties.&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jun 2021 01:03:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Bind-qListObjectDef-to-a-user-selected-dimension/m-p/1813114#M15063</guid>
      <dc:creator>datawizards1234</dc:creator>
      <dc:date>2021-06-05T01:03:57Z</dc:date>
    </item>
  </channel>
</rss>

