<?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: GetActiveSheetId using Navigation API in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/GetActiveSheetId-using-Navigation-API/m-p/1814685#M15091</link>
    <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;This extension is very simple, but I doubt that it will function "until the rest of days" because we don't know&amp;nbsp; how APIs and Java Script will be like in the future. This extension is a quick &amp;amp; dirty answer to the needs and questions raised at your side recently.&lt;/P&gt;&lt;P&gt;You posed lot of good questions regarding this GetActiveSheetID-Extension. As I am not able to answer them I would recommend to use a proper extension&amp;nbsp; Riley posted recently in git -&amp;nbsp;&lt;A href="https://github.com/rileymd88/qwik-variable/releases/download/v0.0.1/qwik-variable.zip" target="_blank"&gt;https://github.com/rileymd88/qwik-variable/releases/download/v0.0.1/qwik-variable.zip&lt;/A&gt;&amp;nbsp;. With Riley's extension you have 2 main guarantees which you don't have with the extension posted here: 1. git is proper platform for extensions; 2 Riley is a proper developer able to make changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 12 Jun 2021 20:59:14 GMT</pubDate>
    <dc:creator>did</dc:creator>
    <dc:date>2021-06-12T20:59:14Z</dc:date>
    <item>
      <title>GetActiveSheetId using Navigation API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/GetActiveSheetId-using-Navigation-API/m-p/1813046#M15056</link>
      <description>&lt;P&gt;hi community,&lt;/P&gt;&lt;P&gt;today I came across the following issue: how to get active sheet id in Qlik Sense.&amp;nbsp;&lt;BR /&gt;As you know - the old famous function GetActiveSheetId() is not available in QS. The only way is to:&lt;BR /&gt;A. copy paste it manually from the URL&lt;BR /&gt;B. use extension to write it down into a variable.&lt;BR /&gt;As I did not find any extension able to do this I asked people around - @Riley McDonald&amp;nbsp;was the one who helped me out to implement it - MANY THANKS Riley!&lt;/P&gt;&lt;P&gt;If you are interested in&amp;nbsp; using it:&lt;BR /&gt;- import the extension&lt;BR /&gt;- open your QS app and create a variable vSheetId&lt;BR /&gt;- drag and drop the extension on every sheet where you want to use active sheet id&lt;BR /&gt;- use the following syntax in the extension bject or in any other object on the sheet: ='$(vSheetId)'&lt;BR /&gt;- keep in mind: this extension is invisible in analysis mode, but visible in edit mode.&lt;/P&gt;&lt;P&gt;Enjoy &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 15:33:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/GetActiveSheetId-using-Navigation-API/m-p/1813046#M15056</guid>
      <dc:creator>did</dc:creator>
      <dc:date>2021-06-04T15:33:06Z</dc:date>
    </item>
    <item>
      <title>Re: GetActiveSheetId using Navigation API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/GetActiveSheetId-using-Navigation-API/m-p/1813049#M15057</link>
      <description>&lt;P&gt;zip file&lt;/P&gt;</description>
      <pubDate>Fri, 04 Jun 2021 15:35:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/GetActiveSheetId-using-Navigation-API/m-p/1813049#M15057</guid>
      <dc:creator>did</dc:creator>
      <dc:date>2021-06-04T15:35:33Z</dc:date>
    </item>
    <item>
      <title>Re: GetActiveSheetId using Navigation API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/GetActiveSheetId-using-Navigation-API/m-p/1813228#M15068</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Denis!@did&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;THX for the prompt support concerning my request !&amp;nbsp; Also shout outs/ big thx goes to @Riley McDonald&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;!&amp;nbsp; How about expanding the java shell with a 2nd var APPID() to make it complete ?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To read the user-id we can use the still existing function osuser(), right ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hope there are no plans on side QLIK to kick the last os-system-var out of QLIK Sense , too &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp; still wondering why that kind of senseful system-vars has been kicked out since qlik-view&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Otherwise a third auto-var like "userid" would make sense within your extension (just to be on the safe side).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;At the moment i use UPPER(SubField(osuser(), 'Id=',2)) to read my userId.&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Further last idea would be a lookup function, which takes a look within a certain table and column for the exisiting entry of a combined key like appid()&amp;amp;sheetid()&amp;amp;userid()&lt;/LI&gt;&lt;LI&gt;corresponding parameters for the func should be : (tablename,columname_key)&lt;/LI&gt;&lt;LI&gt;return codes/RC for the func could be&amp;nbsp;&lt;UL&gt;&lt;LI&gt;-1 (meaning:&amp;nbsp; called table does not exist)&lt;/LI&gt;&lt;LI&gt;-2 (meaning: called columname_key does not exist&lt;/LI&gt;&lt;LI&gt;1 (meaning: allowed/auth. entry found within the table)&lt;/LI&gt;&lt;LI&gt;2 (meaning: found nothin' /would mean key doesnt exist/no auth!&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;in case of&amp;nbsp; returning RC=2&amp;nbsp; when calling the func , the creation /bringing up a popup-Window messaging "no authorization" would be awesome!&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Lesson Learnt for me : it would at last be time to learn how to program java&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; so at that point Riley is a god &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Question to &lt;SPAN&gt;@Riley McDonald&lt;/SPAN&gt; just to calm down our admin when i must ask him to import the new extension ...my company is "Fort Knox" concerning extensions as Dennis already could experience&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New Java-Script/extension should have the same logic&amp;nbsp; used within qlik view ?&lt;/P&gt;&lt;P&gt;Unless the used api-names&amp;nbsp; won't change with an release update , that extension should run/be stable until the rest of days , which would be my asumption and understanding of the script?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 06 Jun 2021 15:56:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/GetActiveSheetId-using-Navigation-API/m-p/1813228#M15068</guid>
      <dc:creator>MichaelCB</dc:creator>
      <dc:date>2021-06-06T15:56:03Z</dc:date>
    </item>
    <item>
      <title>Re: GetActiveSheetId using Navigation API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/GetActiveSheetId-using-Navigation-API/m-p/1814685#M15091</link>
      <description>&lt;P&gt;Hi Michael,&lt;/P&gt;&lt;P&gt;This extension is very simple, but I doubt that it will function "until the rest of days" because we don't know&amp;nbsp; how APIs and Java Script will be like in the future. This extension is a quick &amp;amp; dirty answer to the needs and questions raised at your side recently.&lt;/P&gt;&lt;P&gt;You posed lot of good questions regarding this GetActiveSheetID-Extension. As I am not able to answer them I would recommend to use a proper extension&amp;nbsp; Riley posted recently in git -&amp;nbsp;&lt;A href="https://github.com/rileymd88/qwik-variable/releases/download/v0.0.1/qwik-variable.zip" target="_blank"&gt;https://github.com/rileymd88/qwik-variable/releases/download/v0.0.1/qwik-variable.zip&lt;/A&gt;&amp;nbsp;. With Riley's extension you have 2 main guarantees which you don't have with the extension posted here: 1. git is proper platform for extensions; 2 Riley is a proper developer able to make changes.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 12 Jun 2021 20:59:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/GetActiveSheetId-using-Navigation-API/m-p/1814685#M15091</guid>
      <dc:creator>did</dc:creator>
      <dc:date>2021-06-12T20:59:14Z</dc:date>
    </item>
  </channel>
</rss>

