<?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: Reload a qvw from another qvw -via user button in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reload-a-qvw-from-another-qvw-via-user-button/m-p/1522918#M438171</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you may create .bat file and refresh from&amp;nbsp;from command prompt.&lt;/P&gt;&lt;P&gt;once run the .bat file , QVW file will get refresh.&lt;/P&gt;&lt;P&gt;"c:\Program Files\QlikView\QV.exe" /r&amp;nbsp;&lt;A&gt;\\shared location\file.qvw&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Dec 2018 10:01:12 GMT</pubDate>
    <dc:creator>Somasundaram</dc:creator>
    <dc:date>2018-12-20T10:01:12Z</dc:date>
    <item>
      <title>Reload a qvw from another qvw -via user button</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-a-qvw-from-another-qvw-via-user-button/m-p/1522914#M438169</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a couple qvw's that can't be programmed to be updated at a certain time.&amp;nbsp; The Cost Management team has to run a script that will update the data that is then uploaded into the qvw.&amp;nbsp; I'm looking for a solution to avoid having to be ready and available to click to run the update task for the qvw in the QMC.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm considering adding a button to reload and save in the qvw for the cost management team to use when they are ready to update.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, I've run into a problem : the qvw is a binary load from another qvw.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've been fiddling around with the following macro to put on my button, so that the user can update the first qvw (that they never see) and then update the final qvw.&lt;/P&gt;&lt;P&gt;Here's what I've got so far, but I think there is a problem in my Set Doc but I'm not sure what.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I'm then worried that &lt;SPAN&gt;ActiveDocument is a bit too ambiguous.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any ideas?&amp;nbsp; Is this doable?&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Sub Reload&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Set Doc = App.OpenDoc(&amp;nbsp;[document path and name here]&amp;nbsp;)&lt;/FONT&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Doc.Reload&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Doc.Save&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Doc.Close&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;ActiveDocument.Reload&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;ActiveDocument.Save&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;End Sub&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-a-qvw-from-another-qvw-via-user-button/m-p/1522914#M438169</guid>
      <dc:creator>leenlart</dc:creator>
      <dc:date>2024-11-16T04:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reload a qvw from another qvw -via user button</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-a-qvw-from-another-qvw-via-user-button/m-p/1522918#M438171</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you may create .bat file and refresh from&amp;nbsp;from command prompt.&lt;/P&gt;&lt;P&gt;once run the .bat file , QVW file will get refresh.&lt;/P&gt;&lt;P&gt;"c:\Program Files\QlikView\QV.exe" /r&amp;nbsp;&lt;A&gt;\\shared location\file.qvw&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 10:01:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-a-qvw-from-another-qvw-via-user-button/m-p/1522918#M438171</guid>
      <dc:creator>Somasundaram</dc:creator>
      <dc:date>2018-12-20T10:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Reload a qvw from another qvw -via user button</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-a-qvw-from-another-qvw-via-user-button/m-p/1522919#M438172</link>
      <description>&lt;P&gt;That would be great, but I'm looking for something two users to run.&amp;nbsp; Two QV users that aren't necessarily command prompt savy.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Dec 2018 10:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-a-qvw-from-another-qvw-via-user-button/m-p/1522919#M438172</guid>
      <dc:creator>leenlart</dc:creator>
      <dc:date>2018-12-20T10:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Reload a qvw from another qvw -via user button</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-a-qvw-from-another-qvw-via-user-button/m-p/1532178#M438834</link>
      <description>&lt;P&gt;So what we ended up doing was creating a button on our intranet, where the users could run the batch that reloads the two qvws.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I did however have to fiddle around a bit before I got the batch to run.&amp;nbsp; In the end I&amp;nbsp;got this to work :&amp;nbsp;&lt;/P&gt;&lt;P&gt;CALL "C:\Program Files\QlikView\Distribution Service\QVDistributionService.exe" -R="D:\QlikView_documents\APPLI_1.qvw"&lt;BR /&gt;CALL "C:\Program Files\QlikView\Distribution Service\QVDistributionService.exe" -R="D:\QlikView_documents\APPLI_2.qvw"&lt;BR /&gt;Exit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;so -R= instead of R/&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Jan 2019 14:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-a-qvw-from-another-qvw-via-user-button/m-p/1532178#M438834</guid>
      <dc:creator>leenlart</dc:creator>
      <dc:date>2019-01-18T14:21:48Z</dc:date>
    </item>
  </channel>
</rss>

