<?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 Get DataModel fields names and values in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Get-DataModel-fields-names-and-values/m-p/1429799#M34297</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I &lt;SPAN style="font-size: 10pt;"&gt;Would like to know the fieldnames and values of my dataModel. &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;I use the GetTablesAndKeys method get a list of the fieldnames.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it returns this list of &lt;STRONG&gt;fieldnames&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VerkoopkansKey&lt;/P&gt;&lt;P&gt;LeadKey&lt;/P&gt;&lt;P&gt;DatumKey&lt;/P&gt;&lt;P&gt;RelatieKey&lt;/P&gt;&lt;P&gt;Division&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i get the &lt;STRONG&gt;fieldvalues &lt;/STRONG&gt;with the method getTableData:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it returns this list of &lt;STRONG&gt;fieldvalues&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;VK001&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LE001&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DIV001&amp;nbsp; - these are switched&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REL001&amp;nbsp; - &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you can see the names and values are not in the same order and i wonder &lt;STRONG&gt;why the Qlik Sense API doesnt have a method that returns an object with BOTH the name AND the value &lt;/STRONG&gt;of the tableModel, instead of separating them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats even more worrying is that the Qlik Sense &lt;STRONG&gt;engine-api-explorer&lt;/STRONG&gt; returns this list of &lt;STRONG&gt;fieldnames:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LeadKey&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;VerkoopkansKey&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;RelatieKey&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;DatumKey&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Division&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This list is ALSO in a different order than the list of fieldvalues.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any help would be appreciated.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Nov 2017 14:40:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-07T14:40:38Z</dc:date>
    <item>
      <title>Get DataModel fields names and values</title>
      <link>https://community.qlik.com/t5/App-Development/Get-DataModel-fields-names-and-values/m-p/1429799#M34297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I &lt;SPAN style="font-size: 10pt;"&gt;Would like to know the fieldnames and values of my dataModel. &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;I use the GetTablesAndKeys method get a list of the fieldnames.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it returns this list of &lt;STRONG&gt;fieldnames&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;VerkoopkansKey&lt;/P&gt;&lt;P&gt;LeadKey&lt;/P&gt;&lt;P&gt;DatumKey&lt;/P&gt;&lt;P&gt;RelatieKey&lt;/P&gt;&lt;P&gt;Division&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then i get the &lt;STRONG&gt;fieldvalues &lt;/STRONG&gt;with the method getTableData:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;it returns this list of &lt;STRONG&gt;fieldvalues&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;VK001&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LE001&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DIV001&amp;nbsp; - these are switched&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;REL001&amp;nbsp; - &lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as you can see the names and values are not in the same order and i wonder &lt;STRONG&gt;why the Qlik Sense API doesnt have a method that returns an object with BOTH the name AND the value &lt;/STRONG&gt;of the tableModel, instead of separating them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Whats even more worrying is that the Qlik Sense &lt;STRONG&gt;engine-api-explorer&lt;/STRONG&gt; returns this list of &lt;STRONG&gt;fieldnames:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;LeadKey&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;VerkoopkansKey&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;RelatieKey&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;DatumKey&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Division&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;This list is ALSO in a different order than the list of fieldvalues.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Any help would be appreciated.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;BR /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Nov 2017 14:40:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-DataModel-fields-names-and-values/m-p/1429799#M34297</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-07T14:40:38Z</dc:date>
    </item>
    <item>
      <title>Re: Get DataModel fields names and values</title>
      <link>https://community.qlik.com/t5/App-Development/Get-DataModel-fields-names-and-values/m-p/1429800#M34298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Very frustrating indeed. Same issue here and I've tried it with the newest version of Qlik / SDK.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2018 18:08:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Get-DataModel-fields-names-and-values/m-p/1429800#M34298</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-10-16T18:08:31Z</dc:date>
    </item>
  </channel>
</rss>

