<?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 Document chaining - Using macro, keeping state in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Document-chaining-Using-macro-keeping-state/m-p/302729#M112000</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johannes,&lt;/P&gt;&lt;P&gt;Well, I would like to use an action (Open document), but for some reason (is this a bug? I'm using QV10 SR1) when I combine a macro with the 'Open Document' action, not all functionality is executed.&lt;/P&gt;&lt;P&gt;I created an example on the forum to illustrate this. It can be found here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/124917#124917"&gt;http://community.qlik.com/message/124917#124917&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(unfortunately nobody was able to help me out there, maybe people are overwhelmed by all the text I wrote as guidance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bizar thing is that it does work if I do it in sepearte steps (i.e. one button to execute the macro functionality, and one for the actual jumping).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;Maarten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 21 Jun 2011 05:49:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2011-06-21T05:49:26Z</dc:date>
    <item>
      <title>Document chaining - Using macro, keeping state</title>
      <link>https://community.qlik.com/t5/QlikView/Document-chaining-Using-macro-keeping-state/m-p/302727#M111998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was wondering if there is a possibility to launch a QVW from a QVW &lt;SPAN style="text-decoration: underline;"&gt;transferring the state&lt;/SPAN&gt;, but &lt;STRONG&gt;using a macro &lt;/STRONG&gt;and NOT how it's done below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Jump.png" class="jive-image-thumbnail jive-image" onclick="" src="https://community.qlik.com/legacyfs/online/5329_Jump.png" width="450" /&gt;&lt;/P&gt;&lt;P&gt;I've seen in the API code like this, but I don't know what the parameters serve for...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;Sub Jumping&lt;/P&gt;&lt;P&gt;Set App = ActiveDocument.GetApplication&lt;/P&gt;&lt;P&gt;Set newdoc = App.OpendocEx("qvw - invoices.qvw","","")&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your advice!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maarten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Jun 2011 13:05:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-chaining-Using-macro-keeping-state/m-p/302727#M111998</guid>
      <dc:creator />
      <dc:date>2011-06-20T13:05:58Z</dc:date>
    </item>
    <item>
      <title>Document chaining - Using macro, keeping state</title>
      <link>https://community.qlik.com/t5/QlikView/Document-chaining-Using-macro-keeping-state/m-p/302728#M111999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I guess it would be possible. Haven't checked if there are any new API's related to this but I guess one option would be to check the current selections, and then select them programatically in the new doc.&lt;/P&gt;&lt;P&gt;It doesn't sound cumbersome and not very useful though. What's the problem with using an action?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 03:58:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-chaining-Using-macro-keeping-state/m-p/302728#M111999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-06-21T03:58:56Z</dc:date>
    </item>
    <item>
      <title>Document chaining - Using macro, keeping state</title>
      <link>https://community.qlik.com/t5/QlikView/Document-chaining-Using-macro-keeping-state/m-p/302729#M112000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Johannes,&lt;/P&gt;&lt;P&gt;Well, I would like to use an action (Open document), but for some reason (is this a bug? I'm using QV10 SR1) when I combine a macro with the 'Open Document' action, not all functionality is executed.&lt;/P&gt;&lt;P&gt;I created an example on the forum to illustrate this. It can be found here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/124917#124917"&gt;http://community.qlik.com/message/124917#124917&lt;/A&gt;&lt;/P&gt;&lt;P&gt;(unfortunately nobody was able to help me out there, maybe people are overwhelmed by all the text I wrote as guidance &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/plain.png" /&gt;)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The bizar thing is that it does work if I do it in sepearte steps (i.e. one button to execute the macro functionality, and one for the actual jumping).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR,&lt;/P&gt;&lt;P&gt;Maarten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 05:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-chaining-Using-macro-keeping-state/m-p/302729#M112000</guid>
      <dc:creator />
      <dc:date>2011-06-21T05:49:26Z</dc:date>
    </item>
    <item>
      <title>Document chaining - Using macro, keeping state</title>
      <link>https://community.qlik.com/t5/QlikView/Document-chaining-Using-macro-keeping-state/m-p/302730#M112001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; I would suggest you not to use macro's when you have same functionality with inbuilt actions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; The reason is macros are slow and thus effects the performance of the document.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 06:34:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-chaining-Using-macro-keeping-state/m-p/302730#M112001</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-06-21T06:34:51Z</dc:date>
    </item>
    <item>
      <title>Document chaining - Using macro, keeping state</title>
      <link>https://community.qlik.com/t5/QlikView/Document-chaining-Using-macro-keeping-state/m-p/302731#M112002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, to be honnest I tried to do this...&lt;/P&gt;&lt;P&gt;But I came across the problem that I could not remove bookmarks using an action (needed to keep a certain state of selections before and after the 'jump' to the other QVW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Either way, I just check the release notes and noticed that some&lt;SPAN style="text-decoration: underline;"&gt; bugs were related to macros and bookmarks&lt;/SPAN&gt;... in QV10SR1. Therefore I upgraded both the server and the client... and using a combinatation of actions and one macro (to remove a bookmark) it seems that this problem has solved itself... (need to test it extensively, but at first glance it looks OK).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the macro tip, I did not know it was that slow...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maarten&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Jun 2011 09:21:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Document-chaining-Using-macro-keeping-state/m-p/302731#M112002</guid>
      <dc:creator />
      <dc:date>2011-06-21T09:21:53Z</dc:date>
    </item>
  </channel>
</rss>

