<?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: User selected default Sheet/tab in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/User-selected-default-Sheet-tab/m-p/431130#M698052</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached application on how this can work&lt;/P&gt;&lt;P&gt;Trigger OnOpen used&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Jan 2013 13:30:42 GMT</pubDate>
    <dc:creator>giakoum</dc:creator>
    <dc:date>2013-01-17T13:30:42Z</dc:date>
    <item>
      <title>User selected default Sheet/tab</title>
      <link>https://community.qlik.com/t5/QlikView/User-selected-default-Sheet-tab/m-p/431129#M698051</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'd like to create a User Preferences sheet in my app where the user can select/set things like the default sheet that opens when the app is opened. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So here's what I did to accomplish this (needless to say, it's not working):&amp;nbsp; In the script I created an inline table of sheet names and sheet IDs similar to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Sheet List]:&lt;/P&gt;&lt;P&gt;Load * inline [&lt;/P&gt;&lt;P&gt;sheet_name, sheet_id&lt;/P&gt;&lt;P&gt;Dashboard, dashboard&lt;/P&gt;&lt;P&gt;Foo, foo_123&lt;/P&gt;&lt;P&gt;Bar, bar_id&lt;/P&gt;&lt;P&gt;];&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I then created a User Preferences sheet with a list box that displays sheet_name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next I defined&amp;nbsp; a variable under Variable Settings: vDefaultSheetID = %sheet_id&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly I defined a document Open Action to&amp;nbsp; set active sheet = vDefaultSheetID.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What am I doing wrong? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 13:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-selected-default-Sheet-tab/m-p/431129#M698051</guid>
      <dc:creator />
      <dc:date>2013-01-17T13:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: User selected default Sheet/tab</title>
      <link>https://community.qlik.com/t5/QlikView/User-selected-default-Sheet-tab/m-p/431130#M698052</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;See attached application on how this can work&lt;/P&gt;&lt;P&gt;Trigger OnOpen used&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jan 2013 13:30:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-selected-default-Sheet-tab/m-p/431130#M698052</guid>
      <dc:creator>giakoum</dc:creator>
      <dc:date>2013-01-17T13:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: User selected default Sheet/tab</title>
      <link>https://community.qlik.com/t5/QlikView/User-selected-default-Sheet-tab/m-p/431131#M698053</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Steve,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go to Document properties and Add one "Document Event Trigger"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OnOpen--&amp;gt; Add Action--&amp;gt;Layout---&amp;gt; Activate Sheet--&amp;gt; In Macro Name "SH01"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SHO1 is sheet name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Selva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 05:37:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-selected-default-Sheet-tab/m-p/431131#M698053</guid>
      <dc:creator />
      <dc:date>2013-02-25T05:37:57Z</dc:date>
    </item>
    <item>
      <title>Re: User selected default Sheet/tab</title>
      <link>https://community.qlik.com/t5/QlikView/User-selected-default-Sheet-tab/m-p/431132#M698054</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are the clients using Ajax (Webview) or plugin? &lt;/P&gt;&lt;P&gt;Actions and triggers doesn't always work i Ajax.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 08:06:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-selected-default-Sheet-tab/m-p/431132#M698054</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2013-02-25T08:06:51Z</dc:date>
    </item>
    <item>
      <title>Re: User selected default Sheet/tab</title>
      <link>https://community.qlik.com/t5/QlikView/User-selected-default-Sheet-tab/m-p/431133#M698055</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jerry,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any alternative?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Selva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Feb 2013 09:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/User-selected-default-Sheet-tab/m-p/431133#M698055</guid>
      <dc:creator />
      <dc:date>2013-02-25T09:39:24Z</dc:date>
    </item>
  </channel>
</rss>

