<?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 open in new window in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/open-in-new-window/m-p/359584#M133497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is the macro code using for passing the values from one qvw file to another qvw file. Now in this the new qvw file is opening in same window but it should open in new window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what should i change in code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Sub RunDOc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;set var1 =ActiveDocument.Variables("vConDefectNameShort")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;set App=ActiveDocument.GetApplication&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;set UserFile = App.OpenDoc ("ConcentrationDiagrams.qvw","","")&lt;STRONG&gt;&amp;nbsp; // it should open in new window not in the same application&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;UserFile.CreateVariable "vConDefectNameShort"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;set v1 = UserFile.Variables("vConDefectNameShort")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;v1.SetContent var1.GetContent.String,true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;ActiveDocument.CloseDoc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;End Sub&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Mar 2012 12:00:06 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-03-20T12:00:06Z</dc:date>
    <item>
      <title>open in new window</title>
      <link>https://community.qlik.com/t5/QlikView/open-in-new-window/m-p/359584#M133497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;below is the macro code using for passing the values from one qvw file to another qvw file. Now in this the new qvw file is opening in same window but it should open in new window.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what should i change in code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Sub RunDOc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;set var1 =ActiveDocument.Variables("vConDefectNameShort")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;set App=ActiveDocument.GetApplication&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;set UserFile = App.OpenDoc ("ConcentrationDiagrams.qvw","","")&lt;STRONG&gt;&amp;nbsp; // it should open in new window not in the same application&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;UserFile.CreateVariable "vConDefectNameShort"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;set v1 = UserFile.Variables("vConDefectNameShort")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;v1.SetContent var1.GetContent.String,true&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;ActiveDocument.CloseDoc&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;End Sub&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Mar 2012 12:00:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/open-in-new-window/m-p/359584#M133497</guid>
      <dc:creator />
      <dc:date>2012-03-20T12:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: open in new window</title>
      <link>https://community.qlik.com/t5/QlikView/open-in-new-window/m-p/359585#M133498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Still waiting for response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 16:38:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/open-in-new-window/m-p/359585#M133498</guid>
      <dc:creator />
      <dc:date>2012-03-21T16:38:39Z</dc:date>
    </item>
    <item>
      <title>open in new window</title>
      <link>https://community.qlik.com/t5/QlikView/open-in-new-window/m-p/359586#M133499</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you tried doing this with Actions instead?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this need to run on the server, and if so, which clients - IE or Ajax?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Mar 2012 17:39:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/open-in-new-window/m-p/359586#M133499</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2012-03-21T17:39:24Z</dc:date>
    </item>
    <item>
      <title>Re: open in new window</title>
      <link>https://community.qlik.com/t5/QlikView/open-in-new-window/m-p/359587#M133500</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rob,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks for reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Currently i am working in desktop application not required in server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when i click the macro action in button it is opening the qvw file in the same window , so it is not performing the triggers of On-open actions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think if it is opened in new window the the triggers will work fine (not sure whether i am correct).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;what to change in the code to open in new window ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Mar 2012 07:44:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/open-in-new-window/m-p/359587#M133500</guid>
      <dc:creator />
      <dc:date>2012-03-22T07:44:25Z</dc:date>
    </item>
  </channel>
</rss>

