<?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 How to activate a sheet in an object extension? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/How-to-activate-a-sheet-in-an-object-extension/m-p/531800#M1234990</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Through macros you can invoke ActivateSheetById to switch sheets but how do invoke this or similar function to switch sheets in a object extension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
    <dc:creator />
    <dc:date>2026-01-26T16:26:21Z</dc:date>
    <item>
      <title>How to activate a sheet in an object extension?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-activate-a-sheet-in-an-object-extension/m-p/531800#M1234990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Through macros you can invoke ActivateSheetById to switch sheets but how do invoke this or similar function to switch sheets in a object extension?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 16:26:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-activate-a-sheet-in-an-object-extension/m-p/531800#M1234990</guid>
      <dc:creator />
      <dc:date>2026-01-26T16:26:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a sheet in an object extension?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-activate-a-sheet-in-an-object-extension/m-p/531801#M1234992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may refer to this &lt;A _jive_internal="true" href="https://community.qlik.com/thread/41559"&gt;extension&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sokkorn&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 01:40:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-activate-a-sheet-in-an-object-extension/m-p/531801#M1234992</guid>
      <dc:creator>Sokkorn</dc:creator>
      <dc:date>2013-10-28T01:40:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a sheet in an object extension?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-activate-a-sheet-in-an-object-extension/m-p/531802#M1234995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you but this is a document extension that uses SetTabrowPaint. I'm not sure if or how you would translate this into an object extension. While I'm currently trying to invoke something like the ActivateSheetById method, I'd be curious to know if you could (and how) invoke any of the QV Automation Interface methods within extensions (currently an object extension).&amp;nbsp; Thanks again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Oct 2013 02:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-activate-a-sheet-in-an-object-extension/m-p/531802#M1234995</guid>
      <dc:creator />
      <dc:date>2013-10-28T02:16:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a sheet in an object extension?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-activate-a-sheet-in-an-object-extension/m-p/531803#M1234997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Mike,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can't invoke any methods from the Automation API from the JS API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On to your original question,&lt;/P&gt;&lt;P&gt;There is a few different ways to approach this, I would opt to use a simple solution and just supply a sheet parameter to the url.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So invoking something like this from within your extension will refresh the page and direct the user to the correct sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;var sheetId = 'SH01'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;window.location = window.location.href + '&amp;amp;sheet=' + sheetId;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You want to build some logic around handling already existing parameters in the url though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could also do something like this which would be running the same internal function as standard QV.&lt;/P&gt;&lt;P&gt;It's not part of the official API so if we decided to re-build the way we handle tab changes it would break.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0080ff; font-family: Consolas, 'Lucida Console', monospace; font-size: 12px;"&gt;Qv.GetCurrentDocument().binder.Set("Document.TabRow.Document\\SH27", "action", "", true)&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Nov 2013 21:58:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-activate-a-sheet-in-an-object-extension/m-p/531803#M1234997</guid>
      <dc:creator>Alexander_Thor</dc:creator>
      <dc:date>2013-11-03T21:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to activate a sheet in an object extension?</title>
      <link>https://community.qlik.com/t5/QlikView/How-to-activate-a-sheet-in-an-object-extension/m-p/531804#M1234999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Alexander,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was afraid that was the answer about the Automation APIs from JS API but I was hoping I was wrong.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also thank you for your ideas. I will look into them. I had got it working by setting a QV variable through the JS API which had a trigger on it so whenever the variable changed it would change the sheet to the value of the variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Nov 2013 12:25:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/How-to-activate-a-sheet-in-an-object-extension/m-p/531804#M1234999</guid>
      <dc:creator />
      <dc:date>2013-11-04T12:25:53Z</dc:date>
    </item>
  </channel>
</rss>

