<?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: Macro to open specific sheet of another dashboard in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484532#M481216</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Hi Carl,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;you can try&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an expression&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Application.OpenDoc&amp;nbsp; "qvp://server/file"&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Oct 2013 18:05:30 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-10-17T18:05:30Z</dc:date>
    <item>
      <title>Macro to open specific sheet of another dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484528#M481212</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've got a problem with a macro which should open a specific sheet of another dashboard.&lt;/P&gt;&lt;P&gt;In my first dashboard I have a button by which I use a trigger with the action "open qlikview document" to open my second dashboard. So far it works.&lt;/P&gt;&lt;P&gt;Now I want my second dashboard to be opened and also a specific sheet of it. So I searched for a macro which is able to do that.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;SUB OpenSH11MarketShareSwitzerland&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set app=activedocument.getapplication&lt;/P&gt;&lt;P&gt;set newdoc=app.opendoc("MarketShare_BRZ_International.qvw","","")&lt;/P&gt;&lt;P&gt;/* also tried: set newdoc=app.opendoc("D:\QlikView\SourceDocuments\International\MarketShare_BRZ_International.qvw","","") */&lt;/P&gt;&lt;P&gt;newdoc.activatesheetbyid "SH11"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END SUB&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problem is, when I try to open it in the source document, it works, BUT when I try to open it via AccessPoint of QlikView, it does not work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know what the problem is, so perhaps anyone has a suggestion or has solved a problem like this in the past.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help in advance!&lt;/P&gt;&lt;P&gt;Carl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 15:06:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484528#M481212</guid>
      <dc:creator />
      <dc:date>2013-10-17T15:06:28Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to open specific sheet of another dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484529#M481213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Macro's often don't work in the ajax client. But in the ajax client it's possible to open a document by url and pass parameters in the url, for example for opening the document on a specific sheet. See this discussion: &lt;A href="https://community.qlik.com/thread/53743"&gt;Passing Parameters in a URL and Document Chaining&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 16:15:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484529#M481213</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2013-10-17T16:15:17Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to open specific sheet of another dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484530#M481214</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;Carl&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why not simply use an &amp;lt;OnOpen&amp;gt; Trigger to activate the required sheet.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Settings | Document Properties | Triggers &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Document Event Triggers&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;OnOpen&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Add&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Layout&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;Activate Sheet&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards,&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;Bill&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 16:21:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484530#M481214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-10-17T16:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to open specific sheet of another dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484531#M481215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you open app2 using 'open qlikview document' action on button click in app1, then another 'on open' action in app2 could be used to trigger 'activate sheet'. That could help you. Only disadvantage I see, app2 would always open in that specific sheet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 16:41:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484531#M481215</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2013-10-17T16:41:53Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to open specific sheet of another dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484532#M481216</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Hi Carl,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;you can try&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;an expression&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Application.OpenDoc&amp;nbsp; "qvp://server/file"&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Oct 2013 18:05:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484532#M481216</guid>
      <dc:creator />
      <dc:date>2013-10-17T18:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to open specific sheet of another dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484533#M481217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Bill,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your answer, but that does not work in my case. I have more than one button in my first app and so it depends on the button which sheet of the second app should be opened.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 06:59:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484533#M481217</guid>
      <dc:creator />
      <dc:date>2013-10-18T06:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to open specific sheet of another dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484534#M481218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tresesco,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your answer, but unfortunatly that disadvantage you mentioned is exactly my problem. so that doesn't solve my problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 07:01:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484534#M481218</guid>
      <dc:creator />
      <dc:date>2013-10-18T07:01:10Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to open specific sheet of another dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484535#M481219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Claudio,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for your answer, but I also tried your solution. It works in the source document but not in the user document via access point.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 07:02:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484535#M481219</guid>
      <dc:creator />
      <dc:date>2013-10-18T07:02:13Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to open specific sheet of another dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484536#M481220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi G Wassenaar,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have solved my problem with the discussion of the post you have linked. Thank you.&lt;/P&gt;&lt;P&gt;As open trigger I have used "open URL" and there I put my URL with parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: In my case only when the document is opened with the Full Browser Version in the access point, it'll work perfect, but that's ok for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carl&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 11:44:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484536#M481220</guid>
      <dc:creator />
      <dc:date>2013-10-18T11:44:33Z</dc:date>
    </item>
    <item>
      <title>Re: Macro to open specific sheet of another dashboard</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484537#M481221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Hi&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;Carl&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you are&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;probably&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;using&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;this&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;physical path&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;server&lt;/SPAN&gt;. &lt;SPAN class="hps"&gt;To work properly&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you should&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;use the path&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;of the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;access point&lt;/SPAN&gt;, &lt;SPAN class="hps"&gt;as in the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;example below&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;that works correctly&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in my business&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;QVP&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;&lt;span class="lia-unicode-emoji" title=":confused_face:"&gt;😕&lt;/span&gt;&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;/&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;mywork.com.br&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;/&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;File.qvw&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;You&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;can take the&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;correct path&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;when trying to open&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;a file&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;on the option&lt;/SPAN&gt;: &lt;SPAN class="atn hps"&gt;"&lt;/SPAN&gt;open in &lt;SPAN class="hps"&gt;server&lt;/SPAN&gt;" &lt;SPAN class="hps"&gt;in QlikView&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;desktop&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="hps"&gt;If&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;you&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;test&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;in QlikView&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;desktop&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;will give&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;error&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;should only&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;work when&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;the file is&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;published.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Oct 2013 17:37:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-to-open-specific-sheet-of-another-dashboard/m-p/484537#M481221</guid>
      <dc:creator />
      <dc:date>2013-10-18T17:37:12Z</dc:date>
    </item>
  </channel>
</rss>

