<?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 Retaining sheets order when fetched via Engine API in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retaining-sheets-order-when-fetched-via-Engine-API/m-p/1651618#M11863</link>
    <description>&lt;P&gt;I am able to retrieve the sheets list in an app using the call below.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/iv/qrs/app/object/?Xrfkey=&amp;lt;xrf-key&amp;gt;&amp;amp;filter=app.id eq &amp;lt;app id&amp;gt; and objectType eq 'sheet'&lt;/P&gt;&lt;P&gt;The problem is that this retrieves the sheets in random order and there is no way to tell what order these sheets appear on the sheets list when accessed via HUB UI. Is there any way I could force the engine API return the sheets in the same order as they are on the HUB UI. Or some other kind of parameter I could use to determine this?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 19:34:51 GMT</pubDate>
    <dc:creator>sri_c003</dc:creator>
    <dc:date>2024-11-16T19:34:51Z</dc:date>
    <item>
      <title>Retaining sheets order when fetched via Engine API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retaining-sheets-order-when-fetched-via-Engine-API/m-p/1651618#M11863</link>
      <description>&lt;P&gt;I am able to retrieve the sheets list in an app using the call below.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;/iv/qrs/app/object/?Xrfkey=&amp;lt;xrf-key&amp;gt;&amp;amp;filter=app.id eq &amp;lt;app id&amp;gt; and objectType eq 'sheet'&lt;/P&gt;&lt;P&gt;The problem is that this retrieves the sheets in random order and there is no way to tell what order these sheets appear on the sheets list when accessed via HUB UI. Is there any way I could force the engine API return the sheets in the same order as they are on the HUB UI. Or some other kind of parameter I could use to determine this?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 19:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retaining-sheets-order-when-fetched-via-Engine-API/m-p/1651618#M11863</guid>
      <dc:creator>sri_c003</dc:creator>
      <dc:date>2024-11-16T19:34:51Z</dc:date>
    </item>
    <item>
      <title>Re: Retaining sheets order when fetched via Engine API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retaining-sheets-order-when-fetched-via-Engine-API/m-p/1655170#M11961</link>
      <description>&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;You can do this using capability API or enigma.js, I dont know about the REST API.&lt;/P&gt;&lt;P&gt;Using enigma.js you can call the method getallinfo() and it will give the list of all objects,master items and sheets.&lt;/P&gt;&lt;P&gt;filter the sheets from the data and pass the id of sheet in getobject() method and call the getlayout() method.&lt;/P&gt;&lt;P&gt;The output data from the getlayout method is in json format just search for the &lt;STRONG&gt;rank&lt;/STRONG&gt; word and that will be your&amp;nbsp; sheet rank and sort that rank in ascending form and you will get the sorted sheet details as shows in qlik sense app.&lt;/P&gt;&lt;P&gt;The same steps you can do in &lt;STRONG&gt;dev-hub-engine-api explorer&lt;/STRONG&gt;(for checking the data output)&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;Prashant&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Dec 2019 08:56:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retaining-sheets-order-when-fetched-via-Engine-API/m-p/1655170#M11961</guid>
      <dc:creator>Prashant_Naik</dc:creator>
      <dc:date>2019-12-07T08:56:52Z</dc:date>
    </item>
    <item>
      <title>Re: Retaining sheets order when fetched via Engine API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retaining-sheets-order-when-fetched-via-Engine-API/m-p/1655546#M11967</link>
      <description>&lt;P&gt;Thanks Prashant for that explanation.&lt;/P&gt;&lt;P&gt;For us, we use the engine APIs to list the apps and sheets the user has access to, on a non Qlik interface. So we are pretty much tied to using only engine APIs.&lt;/P&gt;&lt;P&gt;"just search for the &lt;STRONG&gt;rank&lt;/STRONG&gt; word and that will be your&amp;nbsp; sheet rank" &amp;lt;-- will try to explore this.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2019 16:05:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retaining-sheets-order-when-fetched-via-Engine-API/m-p/1655546#M11967</guid>
      <dc:creator>sri_c003</dc:creator>
      <dc:date>2019-12-09T16:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Retaining sheets order when fetched via Engine API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/Retaining-sheets-order-when-fetched-via-Engine-API/m-p/1656196#M11975</link>
      <description>&lt;P&gt;Hi Sri,&lt;/P&gt;&lt;P&gt;I have a workaround for you requirement.&lt;/P&gt;&lt;P&gt;In sheet description you can give the sheet number 1,2,3 as such, as per the sheet no maintained in qliksense.&lt;/P&gt;&lt;P&gt;and while fetching data from QRS API i.e&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;https://&amp;lt;servername&amp;gt;:4242/qrs/app/object/full?filter=app.id eq &amp;lt;app id of qliksense app&amp;gt;&amp;amp;xrfkey=abcdefghijklmnop&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;filter the objects that have&amp;nbsp;&lt;STRONG&gt;objectType&lt;/STRONG&gt; as &lt;STRONG&gt;sheet&lt;/STRONG&gt; in there Json array.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And after filtering get the &lt;STRONG&gt;description&lt;/STRONG&gt; of each &lt;STRONG&gt;sheet&lt;/STRONG&gt; and &lt;STRONG&gt;capture&lt;/STRONG&gt; the &lt;STRONG&gt;sheet no&lt;/STRONG&gt; that we have given in &lt;STRONG&gt;description&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and as per the &lt;STRONG&gt;sheet no&lt;/STRONG&gt;,order the sheet with the Json data we have and there you have your sheets with qlik sense order.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Prashant&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Dec 2019 18:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/Retaining-sheets-order-when-fetched-via-Engine-API/m-p/1656196#M11975</guid>
      <dc:creator>Prashant_Naik</dc:creator>
      <dc:date>2019-12-10T18:40:49Z</dc:date>
    </item>
  </channel>
</rss>

