<?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 Macro window pops up after reload in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-window-pops-up-after-reload/m-p/1697154#M725759</link>
    <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a simple macro running successfully since 1 year on postreload action. I am triggering reload with a batch file from windows task scheduler. Everything was working fine till last week. I made few changes on the pages during that time but i cannot find what went wrong causing this issue. What happens is reload complete with no error (I generated logfile also nothing there) and popup the macro edit window causing qlikview open on the background.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since no change on the macro, i suspect something wrong with variable,source files, expression on a page or on edit script. But how can i find that?&lt;/P&gt;&lt;P&gt;My early backups from last month also have the same behavior which is strange bcz everything was working fine till last week. By the way it worked correct only one of my 20 reload tries today.&lt;/P&gt;&lt;P&gt;Note: i cannot share the whole code bcz its a huge project with 320 MB of qvw and many qvds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;sub HistoryCHTicketStock&lt;BR /&gt;set obj = ActiveDocument.GetSheetObject("CH_TicketStock_History")&lt;BR /&gt;set v = ActiveDocument.GetVariable("qvdPath")&lt;BR /&gt;obj.ExportEx v.GetContent.String&amp;amp;"\"&amp;amp;"HistoryCHTicketStock.txt",1,true&lt;BR /&gt;&lt;BR /&gt;ActiveDocument.Save&lt;BR /&gt;Application.Quit&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 00:46:05 GMT</pubDate>
    <dc:creator>vesiletaskiran</dc:creator>
    <dc:date>2024-11-16T00:46:05Z</dc:date>
    <item>
      <title>Macro window pops up after reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-window-pops-up-after-reload/m-p/1697154#M725759</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have a simple macro running successfully since 1 year on postreload action. I am triggering reload with a batch file from windows task scheduler. Everything was working fine till last week. I made few changes on the pages during that time but i cannot find what went wrong causing this issue. What happens is reload complete with no error (I generated logfile also nothing there) and popup the macro edit window causing qlikview open on the background.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Since no change on the macro, i suspect something wrong with variable,source files, expression on a page or on edit script. But how can i find that?&lt;/P&gt;&lt;P&gt;My early backups from last month also have the same behavior which is strange bcz everything was working fine till last week. By the way it worked correct only one of my 20 reload tries today.&lt;/P&gt;&lt;P&gt;Note: i cannot share the whole code bcz its a huge project with 320 MB of qvw and many qvds.&amp;nbsp;&lt;/P&gt;&lt;P&gt;sub HistoryCHTicketStock&lt;BR /&gt;set obj = ActiveDocument.GetSheetObject("CH_TicketStock_History")&lt;BR /&gt;set v = ActiveDocument.GetVariable("qvdPath")&lt;BR /&gt;obj.ExportEx v.GetContent.String&amp;amp;"\"&amp;amp;"HistoryCHTicketStock.txt",1,true&lt;BR /&gt;&lt;BR /&gt;ActiveDocument.Save&lt;BR /&gt;Application.Quit&lt;BR /&gt;end sub&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:46:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-window-pops-up-after-reload/m-p/1697154#M725759</guid>
      <dc:creator>vesiletaskiran</dc:creator>
      <dc:date>2024-11-16T00:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Macro window pops up after reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-window-pops-up-after-reload/m-p/1697631#M725760</link>
      <description>&lt;P&gt;Hi, Maybe macro security has ben changed and this type of code needs permission to access system. Press CTRL-M and check both dropdows in bottom-left corner. Both should have system access.&lt;/P&gt;&lt;P&gt;You can also comment lines to check wich one is returning the error and try to debug it, also check:&lt;/P&gt;&lt;P&gt;- There is a chart wih id&amp;nbsp;&lt;SPAN&gt;CH_TicketStock_History.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp;qvdPath variable has the patth to the document.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;-&amp;nbsp;HistoryCHTicketStock.txt is not locked by other process and the credentials that executes the batch has permission to write the file.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Apr 2020 10:06:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-window-pops-up-after-reload/m-p/1697631#M725760</guid>
      <dc:creator>rubenmarin</dc:creator>
      <dc:date>2020-04-29T10:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Macro window pops up after reload</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-window-pops-up-after-reload/m-p/1703989#M725761</link>
      <description>&lt;P&gt;To Ruben's point, if something happened in the QV Settings.ini file to mess up the Module Checksums settings, that is about the only thing of which I can think that would fit decently on the macro side of it, Ruben's other points on file locks etc., are the only other of which I can think as well that would cause the hang condition.&amp;nbsp; Sometimes running OnPostReload along with a /r option etc., can be problematic too in that the /r option is trying to close down the process while the trigger is trying to run the macro...&amp;nbsp; OnPostReload is not really meant for 'batch' situations for this reason, so just wanted to toss that out too.&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Wed, 20 May 2020 21:18:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-window-pops-up-after-reload/m-p/1703989#M725761</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2020-05-20T21:18:44Z</dc:date>
    </item>
  </channel>
</rss>

