<?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: Passing selections between Opened Documents in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612765#M226128</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Action "Open QlikView Document" has the option to transfer state to the document your are opening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="action.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/57879_action.JPG.jpg" style="width: 620px; height: 524px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Apr 2014 16:40:12 GMT</pubDate>
    <dc:creator>Colin-Albert</dc:creator>
    <dc:date>2014-04-24T16:40:12Z</dc:date>
    <item>
      <title>Passing selections between Opened Documents</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612762#M226125</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;I connected two documents by creating a button with action "Open URL" (qvp://&amp;lt;server&amp;gt;/&amp;lt;docName&amp;gt; ) - it works fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to pass the selections between these documents (like in the Open Document action).&lt;/P&gt;&lt;P&gt;When I tried to put the URL in the Open Document action - it failed (document was not found)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to pass selections between two chained documents which are opened in server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Yaniv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 16:27:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612762#M226125</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-23T16:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Passing selections between Opened Documents</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612763#M226126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Should be possible ...&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/96800"&gt;URL Composer = compute an Access-Point link and pass selection values, open sheets etc.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 17:40:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612763#M226126</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2014-04-23T17:40:58Z</dc:date>
    </item>
    <item>
      <title>Re: Passing selections between Opened Documents</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612764#M226127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So far I didn't find any standard way for doing it...&lt;/P&gt;&lt;P&gt;the only thing that worked was using Macro to open a new document (open in server) with making selections to specific fields &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help ???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 16:35:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612764#M226127</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-24T16:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Passing selections between Opened Documents</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612765#M226128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Action "Open QlikView Document" has the option to transfer state to the document your are opening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="action.JPG.jpg" class="jive-image" src="https://community.qlik.com/legacyfs/online/57879_action.JPG.jpg" style="width: 620px; height: 524px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 16:40:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612765#M226128</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-04-24T16:40:12Z</dc:date>
    </item>
    <item>
      <title>Re: Passing selections between Opened Documents</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612766#M226129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Collin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am trying to open the document with qvp://&amp;lt;server&amp;gt;/document.qvw and it doesn't work (like open in server).&lt;/P&gt;&lt;P&gt;The option that you showed opens a document for editing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Yaniv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 16:48:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612766#M226129</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-24T16:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Passing selections between Opened Documents</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612767#M226130</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you have the document on the server access point, the action should open the document within the browser.&lt;/P&gt;&lt;P&gt;Have you tried the button when opening the app from the Access Point rather than QV desktop?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 17:00:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612767#M226130</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-04-24T17:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Passing selections between Opened Documents</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612768#M226131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yaniv,&lt;/P&gt;&lt;P&gt;The Open QlikView Document will work with Ajax, but not with IE Plugin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The text below is from the QV Help file...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Opens the specified document. The file extension must be included. (Not available as document and sheet trigger.) &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Mark the check box &lt;SPAN class="Bold"&gt;Transfer State&lt;/SPAN&gt; to transfer the selections from the original document to the one you wish to open. The opened document will first be cleared of selections. &lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;Mark &lt;SPAN class="Bold"&gt;Apply state on top of current&lt;/SPAN&gt; to retain the second document’s selections and apply the original document’s selections on top of them. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="note"&gt;&lt;EM&gt;&lt;STRONG&gt;Note! &lt;/STRONG&gt;Use &lt;SPAN class="Bold"&gt;Apply state on top of current&lt;/SPAN&gt; with caution, as it can cause unpredictable results if the two documents selections are conflicting. In most cases it should be sufficient with using the &lt;SPAN class="Bold"&gt;Transfer State&lt;/SPAN&gt; option.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;SPAN class="Bold"&gt;Open in same Window&lt;/SPAN&gt; opens the new document in the same browser tab when using the AJAX ZFC client. &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="note"&gt;&lt;EM&gt;&lt;STRONG&gt;Note! &lt;/STRONG&gt;Open QlikView Document action is not supported when using the Internet Explorer plugin&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 17:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612768#M226131</guid>
      <dc:creator>Colin-Albert</dc:creator>
      <dc:date>2014-04-24T17:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Passing selections between Opened Documents</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612769#M226132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Collin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with the desktop client&lt;/P&gt;&lt;P&gt;do you know whether this functionality should work with it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 17:22:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612769#M226132</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-24T17:22:46Z</dc:date>
    </item>
    <item>
      <title>Re: Passing selections between Opened Documents</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612770#M226133</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Anyone??? help???&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 07:37:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612770#M226133</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-28T07:37:54Z</dc:date>
    </item>
    <item>
      <title>Re: Passing selections between Opened Documents</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612771#M226134</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;Transfer State option works in Desktop Client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;jagan.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 07:42:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612771#M226134</guid>
      <dc:creator>jagan</dc:creator>
      <dc:date>2014-04-28T07:42:10Z</dc:date>
    </item>
    <item>
      <title>Re: Passing selections between Opened Documents</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612772#M226135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jagan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should it also work when I am opening a document via QVS (qvp://&amp;lt;server&amp;gt;/filename.qvw) ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Yaniv&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 07:55:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612772#M226135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-28T07:55:29Z</dc:date>
    </item>
    <item>
      <title>Re: Passing selections between Opened Documents</title>
      <link>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612773#M226136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK, after a quick experience with the API guide I found the solution.&lt;/P&gt;&lt;P&gt;The Action is not working so we'll have to do it with Macro.&lt;/P&gt;&lt;P&gt;The idea is to loop through all the current selections and dynamically pass them to the new document:&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 ("qvp://&amp;lt;SERVER&amp;gt;/&amp;lt;DOCUMENT&amp;gt;.qvw")&lt;/P&gt;&lt;P&gt;set x = ActiveDocument.GetCurrentSelections&lt;/P&gt;&lt;P&gt;s = x.Selections&lt;/P&gt;&lt;P&gt;v = x.VarId&lt;/P&gt;&lt;P&gt;for i = lbound(s) to ubound(s)&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; newdoc.Fields(v(i)).Select s(i) &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;next&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Apr 2014 08:38:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Passing-selections-between-Opened-Documents/m-p/612773#M226136</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-04-28T08:38:19Z</dc:date>
    </item>
  </channel>
</rss>

