<?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: How do you get a populated response from GetActiveSheetID? in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-populated-response-from-GetActiveSheetID/m-p/1699494#M12743</link>
    <description>&lt;P&gt;Haven't used this function myself but ...&lt;/P&gt;&lt;P&gt;this function should be "sessions specific". Which means that it will/should return different values depending on the current session. You can have multiple sessions (from the same user) to the same app and all sessions will return different results for&amp;nbsp;GetActiveSheetID.&lt;/P&gt;&lt;P&gt;Even if you have the app open in another tab if you are creating new connection/session (in the current tab) then the function will return empty sheet id, since you haven't activated any sheet in the current session&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;</description>
    <pubDate>Wed, 06 May 2020 14:43:47 GMT</pubDate>
    <dc:creator>StefanStoichev</dc:creator>
    <dc:date>2020-05-06T14:43:47Z</dc:date>
    <item>
      <title>How do you get a populated response from GetActiveSheetID?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-populated-response-from-GetActiveSheetID/m-p/1699212#M12732</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;We are trying to build a function which will allow us to navigate away from a sheet and jump back to that sheet with the click of a button. It seems that when the buttton is clicked to navigate away from a sheet we want to set a variable with the current sheet id. When the button is clicked to return, the go to a sheet action reads the variable which is set with the previous sheet id and goes back.&lt;/P&gt;&lt;P&gt;I found a function available in the API Explorer:&lt;/P&gt;&lt;P&gt;https://[server]/dev-hub/engine-api-explorer (We are using enterprise)&amp;nbsp;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;http://localhost:4848/dev-hub/engine-api-explorer ( Desktop )&lt;/P&gt;&lt;P&gt;After connecting to an app you can call the doc function "GetActiveSheetID".&lt;/P&gt;&lt;P&gt;We are planning to connect to this API through a web socket and create a server side extension using python, which will call this function through the API and return the id to our app.&lt;/P&gt;&lt;P&gt;However the response that I get is:&lt;/P&gt;&lt;P&gt;{&lt;BR /&gt;"jsonrpc": "2.0",&lt;BR /&gt;"id": 3,&lt;BR /&gt;"delta": true,&lt;BR /&gt;"result": {&lt;BR /&gt;"qId": "Document\\"&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;So it looks like I get no sheet ID even when I have the application open in another window.&lt;/P&gt;&lt;P&gt;Can anybody tell me how to get a response with a sheet ID? Also is there a way I can get the sheet name?&lt;/P&gt;</description>
      <pubDate>Tue, 05 May 2020 20:18:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-populated-response-from-GetActiveSheetID/m-p/1699212#M12732</guid>
      <dc:creator>RichB</dc:creator>
      <dc:date>2020-05-05T20:18:12Z</dc:date>
    </item>
    <item>
      <title>Re: How do you get a populated response from GetActiveSheetID?</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-populated-response-from-GetActiveSheetID/m-p/1699494#M12743</link>
      <description>&lt;P&gt;Haven't used this function myself but ...&lt;/P&gt;&lt;P&gt;this function should be "sessions specific". Which means that it will/should return different values depending on the current session. You can have multiple sessions (from the same user) to the same app and all sessions will return different results for&amp;nbsp;GetActiveSheetID.&lt;/P&gt;&lt;P&gt;Even if you have the app open in another tab if you are creating new connection/session (in the current tab) then the function will return empty sheet id, since you haven't activated any sheet in the current session&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Stefan&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 14:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/How-do-you-get-a-populated-response-from-GetActiveSheetID/m-p/1699494#M12743</guid>
      <dc:creator>StefanStoichev</dc:creator>
      <dc:date>2020-05-06T14:43:47Z</dc:date>
    </item>
  </channel>
</rss>

