<?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 with a button to reload the data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304601#M585528</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Problem is - I don't have publisher...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i'm trying to do is to trigger a reload of QVW if it falied to reload. Basically try to reload it again. This all happens on server - no user involved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you happen to have s suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Dec 2011 20:33:17 GMT</pubDate>
    <dc:creator>spinchuk</dc:creator>
    <dc:date>2011-12-08T20:33:17Z</dc:date>
    <item>
      <title>Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304592#M585519</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We have a requirement wherein the user wants to update few templates provided to different departments within the organization and click on a button to get the data loaded onto qlikview application. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anybody share with me any macro to enable Reload into Qlikview.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 12:06:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304592#M585519</guid>
      <dc:creator>raghavsurya</dc:creator>
      <dc:date>2011-08-26T12:06:16Z</dc:date>
    </item>
    <item>
      <title>Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304593#M585520</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;&amp;nbsp; With normal API's its not possible as per my knowledge, but i think it might be achieved with the help of ServerSide API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dont know much about ServerSide API. Will rearch on this and will get back to you.&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>Fri, 26 Aug 2011 12:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304593#M585520</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2011-08-26T12:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304594#M585521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Raghav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following will only work when openin the document locally using Desktop. This will never work in a client - server environment, you should create an EDX triggered task if you have the Publisher license.&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 ReloadDoc&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.Reload&lt;/P&gt;&lt;P&gt;End Sub&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now you can call this sub in an action, for example.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/people/mabaeyens" style="font-size: 12px; outline-style: none; padding-top: 1px; padding-bottom: 1px; padding-left: 17px; color: #007fc0; zoom: 1; background-position: no-repeat no-repeat;"&gt;Miguel Angel Baeyens&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://www.grupocomex.com/" style="font-size: 12px; outline-style: none; color: #007fc0;"&gt;Comex Grupo Ibérica&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 12:15:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304594#M585521</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-08-26T12:15:18Z</dc:date>
    </item>
    <item>
      <title>Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304595#M585522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Thanks a lot Miguel. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 12:17:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304595#M585522</guid>
      <dc:creator>raghavsurya</dc:creator>
      <dc:date>2011-08-26T12:17:48Z</dc:date>
    </item>
    <item>
      <title>Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304596#M585523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thx Kaushik.... let me know if you are able to crack it .&amp;nbsp; Regards, Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Aug 2011 12:19:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304596#M585523</guid>
      <dc:creator>raghavsurya</dc:creator>
      <dc:date>2011-08-26T12:19:26Z</dc:date>
    </item>
    <item>
      <title>Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304597#M585524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to create a EDX trigger action for reload the application in server machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please list the steps to follow.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 09 Nov 2011 13:56:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304597#M585524</guid>
      <dc:creator />
      <dc:date>2011-11-09T13:56:56Z</dc:date>
    </item>
    <item>
      <title>Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304598#M585525</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;Did you find any solution to this?&lt;/P&gt;&lt;P&gt;I have an edx that seems to run as it should.&lt;/P&gt;&lt;P&gt;But I also try to reload with a variable but I have not managed to get it to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Dec 2011 09:13:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304598#M585525</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-12-01T09:13:01Z</dc:date>
    </item>
    <item>
      <title>Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304599#M585526</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Miguel, how would you modify this script to trigger reload of not active document, but any document on server drive?&lt;/P&gt;&lt;P&gt;For example i need to trigger reload of MyDoc.QVW located on C drive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;Sub ReloadDoc&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.Reload&lt;BR /&gt;End Sub&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;CODE class="jive-code"&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 19:06:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304599#M585526</guid>
      <dc:creator>spinchuk</dc:creator>
      <dc:date>2011-12-08T19:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304600#M585527</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sergey,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That will only work opening the document with the Desktop client locally, not with the Plugin or Ajax client and never in a server environment, if that's what you mean. Check &lt;A _jive_internal="true" href="https://community.qlik.com/docs/DOC-2650"&gt;this document&lt;/A&gt; on how to create an EDX triggered task in QlikView.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 20:16:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304600#M585527</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-12-08T20:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304601#M585528</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Problem is - I don't have publisher...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i'm trying to do is to trigger a reload of QVW if it falied to reload. Basically try to reload it again. This all happens on server - no user involved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you happen to have s suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 20:33:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304601#M585528</guid>
      <dc:creator>spinchuk</dc:creator>
      <dc:date>2011-12-08T20:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304602#M585529</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With a bit of clever configuration, it should be possible to trigger reloads without the need for Publisher/EDX etc..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I have done is schedule a simple qvw (let's call it a 'control' qvw) to run every minute.&amp;nbsp; All it does is look for the existence of a txt file on the server.&amp;nbsp; The txt file is generated using a macro with ServerSideExport of a simple object in the document I want to be triggered and in my document this is called from a button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When the scheduled control qvw doesn't find the file (use an 'if FileSize(file)&amp;gt;0' statement in the load script), it just completes normally.&amp;nbsp; If it DOES find the file, make the load script do something that will fail, such as 'Load NonField resident NonTable'.&amp;nbsp; The document you DO want to reload needs to be set up to run only when the control document fails. You will also need to delete (EXECUTE cmd.exe \c del) the file to prevent the control app from continuously failing - just do this in the control app just before you set the fail script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For the issue where you want to reload a failed document reload, you might be better to store a counter in the text file so that you can control a maximum number of times a reload is attempted, and read the value back on each attempt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;flipside&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 22:07:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304602#M585529</guid>
      <dc:creator>flipside</dc:creator>
      <dc:date>2011-12-08T22:07:47Z</dc:date>
    </item>
    <item>
      <title>Re: Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304603#M585530</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, this is another option. Even a continuous QVW file checking for a value in field stored in a QVD file with a timestamp can give you more control on what is happening.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2011 22:33:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304603#M585530</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2011-12-08T22:33:59Z</dc:date>
    </item>
    <item>
      <title>Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304604#M585531</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Miguel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this work if the user access the qvw via Access point?&lt;/P&gt;&lt;P&gt;i tried, and it didn't work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you advise?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;nick&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 01:52:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304604#M585531</guid>
      <dc:creator />
      <dc:date>2011-12-21T01:52:27Z</dc:date>
    </item>
    <item>
      <title>Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304605#M585532</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Nick,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This does not work through accesspoint.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Dec 2011 05:09:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304605#M585532</guid>
      <dc:creator>raghavsurya</dc:creator>
      <dc:date>2011-12-21T05:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Macro with a button to reload the data</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304606#M585533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghavendra,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Please find the following code that will helps to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Sub ReloadDoc()&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.Reload&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;End Sub&amp;nbsp; &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sreenadha Reddy P&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 May 2016 06:44:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-with-a-button-to-reload-the-data/m-p/304606#M585533</guid>
      <dc:creator />
      <dc:date>2016-05-03T06:44:45Z</dc:date>
    </item>
  </channel>
</rss>

