<?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 Dynamically get label for drop down. in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Dynamically-get-label-for-drop-down/m-p/1624397#M11321</link>
    <description>&lt;P&gt;I have an extension that uses a list generated by the user to populate a list in application. I have added it to my properties but I can't seem to get the label to work. Below is my code and a screen shot of what I see.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var settingsDefinition = {
			uses: "settings",
					items: {
						MyList: {
							type: "array",
                            ref: "listItems",
                            label: "List Items",
                            itemTitleRef: "MyDropDown.label",
                            allowAdd: true,
                            allowRemove: true,
                            addTranslation: "Add Item",
                            items: {						
								MyDropDown: {
									label: "Field",
									type: "string",
									component: "dropdown",
									ref: "fieldList",
									options: function() {
										return getFieldList().then(function (items) {
											return items;								
												});
									}
								}
                            }
						}
					}
				}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 Sep 2019 20:39:25 GMT</pubDate>
    <dc:creator>danelooman</dc:creator>
    <dc:date>2019-09-16T20:39:25Z</dc:date>
    <item>
      <title>Dynamically get label for drop down.</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Dynamically-get-label-for-drop-down/m-p/1624397#M11321</link>
      <description>&lt;P&gt;I have an extension that uses a list generated by the user to populate a list in application. I have added it to my properties but I can't seem to get the label to work. Below is my code and a screen shot of what I see.&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;var settingsDefinition = {
			uses: "settings",
					items: {
						MyList: {
							type: "array",
                            ref: "listItems",
                            label: "List Items",
                            itemTitleRef: "MyDropDown.label",
                            allowAdd: true,
                            allowRemove: true,
                            addTranslation: "Add Item",
                            items: {						
								MyDropDown: {
									label: "Field",
									type: "string",
									component: "dropdown",
									ref: "fieldList",
									options: function() {
										return getFieldList().then(function (items) {
											return items;								
												});
									}
								}
                            }
						}
					}
				}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Sep 2019 20:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Dynamically-get-label-for-drop-down/m-p/1624397#M11321</guid>
      <dc:creator>danelooman</dc:creator>
      <dc:date>2019-09-16T20:39:25Z</dc:date>
    </item>
  </channel>
</rss>

