<?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: Retrieve Column Headers in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-Column-Headers/m-p/1167686#M5664</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;Thanks for your reply. I tried to go that way, but how can I actually do that? The ColumnOrder returns an array (for instance {0, 1}). Dimensions and Measures are two collections - how do I know which index belongs to which collection? Is ColumnOrder "0" a dimension or a measure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bernd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 May 2016 14:21:49 GMT</pubDate>
    <dc:creator>berndpodhradsky</dc:creator>
    <dc:date>2016-05-30T14:21:49Z</dc:date>
    <item>
      <title>Retrieve Column Headers</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-Column-Headers/m-p/1167684#M5662</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;I'm using the .NET SDK API and trying to retrieve all columns of a Table object. I'm aware of the ColumnOrder property, but which property do I need to access with these indices to get the column header labels?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bernd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 29 May 2016 23:57:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-Column-Headers/m-p/1167684#M5662</guid>
      <dc:creator>berndpodhradsky</dc:creator>
      <dc:date>2016-05-29T23:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Column Headers</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-Column-Headers/m-p/1167685#M5663</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm no expert in the .Net SDK what so ever so excuse any errors on my part &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But speaking from a Generic Object spec point of view, the column headers are your labels defined in qDimensionInfo and qMeasureInfo. Then you match those against your ColumnOrder, i.e your dimensions and measure are defined and then column order defines sort and display order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you are interested in what's returned you can look at &lt;A href="http://help.qlik.com/en-US/sense-developer/2.2/Subsystems/EngineAPI/Content/GenericObject/LayoutLevel/HyperCube.htm" title="http://help.qlik.com/en-US/sense-developer/2.2/Subsystems/EngineAPI/Content/GenericObject/LayoutLevel/HyperCube.htm"&gt;http://help.qlik.com/en-US/sense-developer/2.2/Subsystems/EngineAPI/Content/GenericObject/LayoutLevel/HyperCube.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So no .Net help but maybe you can work your way back from the HyperCube layout to a matching .Net SDK property&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 14:20:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-Column-Headers/m-p/1167685#M5663</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2016-05-30T14:20:07Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Column Headers</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-Column-Headers/m-p/1167686#M5664</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;Thanks for your reply. I tried to go that way, but how can I actually do that? The ColumnOrder returns an array (for instance {0, 1}). Dimensions and Measures are two collections - how do I know which index belongs to which collection? Is ColumnOrder "0" a dimension or a measure?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bernd&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 14:21:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-Column-Headers/m-p/1167686#M5664</guid>
      <dc:creator>berndpodhradsky</dc:creator>
      <dc:date>2016-05-30T14:21:49Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Column Headers</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-Column-Headers/m-p/1167687#M5665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bernd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here some code snipets from my .NET Code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="c#" __jive_macro_name="code" class="jive_macro_code _jivemacro_uid_14646193040907443 jive_text_macro" jivemacro_uid="_14646193040907443"&gt;
&lt;P&gt;ll = genericSessionObject.GetLayout() as TableLayout;&lt;/P&gt;
&lt;P&gt;headerNames = (from c in ll.HyperCube.DimensionInfo select new HeaderItem() { Name = c.FallbackTitle, Dimension = true }).ToList();&lt;/P&gt;
&lt;P&gt;headerNames.AddRange(from c in ll.HyperCube.MeasureInfo select new HeaderItem() { Name = c.FallbackTitle, Dimension = false })&lt;/P&gt;
&lt;/PRE&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will receive the Data in the same order and you can use the columnsortorder to reassign that for the display of the data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 14:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-Column-Headers/m-p/1167687#M5665</guid>
      <dc:creator>konrad_mattheis</dc:creator>
      <dc:date>2016-05-30T14:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Retrieve Column Headers</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-Column-Headers/m-p/1167688#M5666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bernd,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to take care. The columnsortorder can be also NULL this meas: array {0..n-1} = {0},{1},...{n}&lt;/P&gt;&lt;P&gt;The columnsortorder it over Dimensions and Measures, like I did this in my code. The first columns are&lt;/P&gt;&lt;P&gt;the dimensions and the later one the measures. Just try it out you will see it in the result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye Konrad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2016 17:38:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retrieve-Column-Headers/m-p/1167688#M5666</guid>
      <dc:creator>konrad_mattheis</dc:creator>
      <dc:date>2016-05-30T17:38:03Z</dc:date>
    </item>
  </channel>
</rss>

