<?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: Macros not working after task reload in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371638#M1305693</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Magnus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, the marcos are not triggered by the OnpostReload event. They are normal macros that are triggered by a button. The macros first create a text file and then execute a command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I previously said, the macros work fine if I just publish the document, however if I add a task to reload the document then after the reload the macros do not work anymore (they are not executed)....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 May 2012 13:33:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-05-28T13:33:26Z</dc:date>
    <item>
      <title>Macros not working after task reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371636#M1305691</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;I am having some problems getting macros working on our Qlikview server. The macros work fine if I reload the data locally in a Qlikview client and then publish the file, however if I add a task that first reloads the data and then publishes the file then the macros do not work anymore (they are not executed). It is not only that the macros does not work when accessing the file trough the IEPlugin, they do not work even if I open the qvw file in a local client. Does anybody know the reason for this and who to get around it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jan 2026 18:19:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371636#M1305691</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Macros not working after task reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371637#M1305692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Robbjohn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you mean you have macros who execute OnPostReload?&lt;/P&gt;&lt;P&gt;If so:&lt;/P&gt;&lt;P&gt;- Macros are *only* executed on manual reloads via QV Desktop (QV.exe)&lt;/P&gt;&lt;P&gt;- Macros are *not* executed when reloading via Publisher (QVB.exe)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What are you trying to do in your macro code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/21613"&gt;Magnus Åvitsland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.framsteg.com" target="_blank"&gt;Framsteg Business Intelligence Corp.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 13:26:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371637#M1305692</guid>
      <dc:creator>magavi_framsteg</dc:creator>
      <dc:date>2012-05-28T13:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Macros not working after task reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371638#M1305693</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Magnus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;No, the marcos are not triggered by the OnpostReload event. They are normal macros that are triggered by a button. The macros first create a text file and then execute a command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I previously said, the macros work fine if I just publish the document, however if I add a task to reload the document then after the reload the macros do not work anymore (they are not executed)....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 13:33:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371638#M1305693</guid>
      <dc:creator />
      <dc:date>2012-05-28T13:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Macros not working after task reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371639#M1305694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have "&lt;EM&gt;Document properties &amp;gt; Security &amp;gt; Macro override security&lt;/EM&gt;" checked?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/21613"&gt;Magnus Åvitsland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.framsteg.com" target="_blank"&gt;Framsteg Business Intelligence Corp.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 13:40:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371639#M1305694</guid>
      <dc:creator>magavi_framsteg</dc:creator>
      <dc:date>2012-05-28T13:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: Macros not working after task reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371640#M1305695</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;Do you mean that after publishing the document, you click on the buttons and that no longer triggers the macros? Does it work if you use the Launch action instead? Are you allowing unsafe macro execution on server?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you open the distributed documents with Desktop to check whether or not the macro still works? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 13:43:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371640#M1305695</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-05-28T13:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: Macros not working after task reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371641#M1305696</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;Let be more exact.&lt;/P&gt;&lt;P&gt;Imagine two scenarios. &lt;/P&gt;&lt;P&gt;First scenario: I create a task that publishes the document. Macros work fine.&lt;/P&gt;&lt;P&gt;Second scenario: I create a task that first reloads the data and then publishes the document. Macros do not work anymore. Does not matter if i open the document in a desktop client or trough the IEplugin, macros are simply not executed, i.e. something happens to the file when it is reloaded. However if i reload the file in a desktop client macros continue to work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Macro override security is checked.&lt;/P&gt;&lt;P&gt;I am allowing unsafe macros.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 13:52:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371641#M1305696</guid>
      <dc:creator />
      <dc:date>2012-05-28T13:52:07Z</dc:date>
    </item>
    <item>
      <title>Re: Macros not working after task reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371642#M1305697</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;The only difference between Desktop reloads and Publisher (not Server) reloads is that QlikView Publisher removes the script to the published documents. It's not a bug, as far as I know. So it would make sense if you were loading your macros in the script, as long as it is removed by Publisher (open any reloaded file and you will see a comment line noting that there is no script).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which version of QlikView are you running? Does the module editor have macros even if they are not executed when you open the reloaded document in Desktop?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that makes sense.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 May 2012 14:14:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371642#M1305697</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-05-28T14:14:19Z</dc:date>
    </item>
    <item>
      <title>Re: Macros not working after task reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371643#M1305698</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, so i found the problem (silly problem, silly me), but I do not know why it occurs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like when a .qvw is reloaded trough a task, triggers are removed (I said earlier that macros are executed trough buttons, when they really are executed trough triggers when a certain selection is made. Did not think it mattered). So any body knows why this happen, and how to avoid it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 07:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371643#M1305698</guid>
      <dc:creator />
      <dc:date>2012-05-29T07:10:53Z</dc:date>
    </item>
    <item>
      <title>Re: Macros not working after task reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371644#M1305699</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again robbjohn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Triggers should never be automatically removed depending on how the reload was made - so be it manual or by publisher task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However ,if you have a field event trigger OnChange, the trigger will be removed if the underlying field gets removed from your data model. Even if the field comes back, the trigger will still be gone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This behavior was reported as a bug on QV v9 by me a few years ago, but it still exists as of QV v11 SR1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/21613"&gt;Magnus Åvitsland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.framsteg.com" target="_blank"&gt;Framsteg Business Intelligence Corp.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 07:19:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371644#M1305699</guid>
      <dc:creator>magavi_framsteg</dc:creator>
      <dc:date>2012-05-29T07:19:00Z</dc:date>
    </item>
    <item>
      <title>Re: Macros not working after task reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371645#M1305700</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Magnus.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hm, I am not using the OnChange but the OnSelection event... But if I understand you correctly this basically should not happen, yet it does (however as I mentioned earlier if the document is reloaded in a desktop client it does not happen)... A new bug? We are using QV11....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 07:25:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371645#M1305700</guid>
      <dc:creator />
      <dc:date>2012-05-29T07:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Macros not working after task reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371646#M1305701</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes it might be a bug, OnChange and OnSelection should work all the same, technically.&lt;/P&gt;&lt;P&gt;And they should not work differently depending on how you reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create a "dummy" document and send to QV Support and explain the behavior to them.&lt;/P&gt;&lt;P&gt;They can usually reproduce your problem, and it gets filed as a bug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/qlik-users/21613"&gt;Magnus Åvitsland&lt;/A&gt;&lt;/P&gt;&lt;P&gt;BI Consultant&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.framsteg.com" target="_blank"&gt;Framsteg Business Intelligence Corp.&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 May 2012 08:36:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371646#M1305701</guid>
      <dc:creator>magavi_framsteg</dc:creator>
      <dc:date>2012-05-29T08:36:41Z</dc:date>
    </item>
    <item>
      <title>Re: Macros not working after task reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371647#M1305702</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Magnus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you any work around for the problem you stated in this comment.&lt;/P&gt;&lt;P&gt;I am facing same problem :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;- Macros are *only* executed on manual reloads via QV Desktop (QV.exe)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;- Macros are *not* executed when reloading via Publisher (QVB.exe)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I am exporting a chart data after QV reload.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P&gt;Thank,&lt;/P&gt;&lt;P&gt;Sanjay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Jun 2017 01:41:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macros-not-working-after-task-reload/m-p/371647#M1305702</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-01T01:41:08Z</dc:date>
    </item>
  </channel>
</rss>

