<?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 qSortIndicator issue in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/qSortIndicator-issue/m-p/1421347#M8822</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;in extensions very often I need to sort dimensions myself, at least for 2nd dimension. Hence I try to figure out what sorting is given by the user. The only thing I cannot detect is when a dimension is not sorted, means sorting by load order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case according to documentation qSortIndicator should equal 'N' but it doesn't:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177825_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;So my guess is this is an API bug. Is there any workaround?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Sep 2017 08:30:20 GMT</pubDate>
    <dc:creator>rbecher</dc:creator>
    <dc:date>2017-09-27T08:30:20Z</dc:date>
    <item>
      <title>qSortIndicator issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/qSortIndicator-issue/m-p/1421347#M8822</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;in extensions very often I need to sort dimensions myself, at least for 2nd dimension. Hence I try to figure out what sorting is given by the user. The only thing I cannot detect is when a dimension is not sorted, means sorting by load order.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In that case according to documentation qSortIndicator should equal 'N' but it doesn't:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177825_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;So my guess is this is an API bug. Is there any workaround?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Ralf&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 08:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/qSortIndicator-issue/m-p/1421347#M8822</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2017-09-27T08:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: qSortIndicator issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/qSortIndicator-issue/m-p/1421348#M8823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ralf,&lt;/P&gt;&lt;P&gt;You really need qSortCriterias, which is not included in the dimension info in the layout (that might be considered a bug). When you turn off sorting in the standard property panel, the client will still set qSortByLoadOrder to 1, like this:&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Capture.PNG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/177841_Capture.PNG" style="height: auto;" /&gt;&lt;/P&gt;&lt;P&gt;So QIX engine still thinks its sorted (which it is..).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A workaround would be getting the properties and checking qSortCriterias.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erik Wetterberg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 09:38:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/qSortIndicator-issue/m-p/1421348#M8823</guid>
      <dc:creator>ErikWetterberg</dc:creator>
      <dc:date>2017-09-27T09:38:48Z</dc:date>
    </item>
    <item>
      <title>Re: qSortIndicator issue</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/qSortIndicator-issue/m-p/1421349#M8824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Erik, &lt;/P&gt;&lt;P&gt;I know and have used qSortCriterias before but thought qSortIndicator would be a more simple solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Sep 2017 11:38:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/qSortIndicator-issue/m-p/1421349#M8824</guid>
      <dc:creator>rbecher</dc:creator>
      <dc:date>2017-09-27T11:38:27Z</dc:date>
    </item>
  </channel>
</rss>

