<?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: Onpost Reload to Trigger Macro Failed in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Onpost-Reload-to-Trigger-Macro-Failed/m-p/471777#M1303761</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bill has already pointed out that the Publisher will not execute certain triggers.&lt;/P&gt;&lt;P&gt;However there is a workaround to this. Basic principle is:&lt;/P&gt;&lt;P&gt;1) Create a CMD file on the QlikView Server that will start the reload&lt;/P&gt;&lt;P&gt;2) Create a Windows task that will run the CMD file&lt;/P&gt;&lt;P&gt;3) Create a CMD file that calls the Windows Scheduler&lt;/P&gt;&lt;P&gt;4) In the QMC go to 'Systems' tab, select 'Supporting Tasks' and 'External Programs' and create a new external program task. On the 'Triggers' tab of the just created task, it can be attached to any other existing task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 10 Dec 2013 10:18:00 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-12-10T10:18:00Z</dc:date>
    <item>
      <title>Onpost Reload to Trigger Macro Failed</title>
      <link>https://community.qlik.com/t5/QlikView/Onpost-Reload-to-Trigger-Macro-Failed/m-p/471775#M1303755</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 have a macro send email to tell me that the process reload is succes. The macro is excecuted OnPost Reload qvw automatically, with the schedule reload in QMS. The macro working fine in Qlikview desktop, but its not working in qlikview server.&amp;nbsp; Anybody can help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had add 'Macro override security' in the QVW and check the 'Allow macro execution on server','&amp;nbsp; Allow unsafe macro execution on server' on QMS. But it still not working.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Below is the macro I am using:&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 _jivemacro_uid_13618814113867925" jivemacro_uid="_13618814113867925"&gt;&lt;P&gt;sub SENDMAIL()&lt;/P&gt;&lt;P&gt;Dim objEmail&lt;/P&gt;&lt;P&gt;Const cdoSendUsingPort = 2&lt;/P&gt;&lt;P&gt;Const cdoAnonymous = 0&lt;/P&gt;&lt;P&gt;Const cdoBasic = 1 &lt;/P&gt;&lt;P&gt;Const cdoNTLM = 2 &lt;/P&gt;&lt;P&gt;SMTPServer = "mail.xxxxx.xx.xx"&lt;/P&gt;&lt;P&gt;Const SMTPPort = 25 &lt;/P&gt;&lt;P&gt;Const SMTPTimeout = 60&lt;/P&gt;&lt;P&gt;'Sending mail&lt;/P&gt;&lt;P&gt;Set objEmail = CreateObject("CDO.Message")&lt;/P&gt;&lt;P&gt;Set objConf = objEmail.Configuration&lt;/P&gt;&lt;P&gt;Set objFlds = objConf.Fields&lt;/P&gt;&lt;P&gt;With objFlds&lt;/P&gt;&lt;P&gt;'---------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;' Detalles del servidor SMTP&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/sendusing" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/sendusing&lt;/A&gt;&lt;SPAN&gt;") = 2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserver" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserver&lt;/A&gt;&lt;SPAN&gt;") = SMTPServer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpauthenticate" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/smtpauthenticate&lt;/A&gt;&lt;SPAN&gt;") = cdoAnonymous &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpserverport" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/smtpserverport&lt;/A&gt;&lt;SPAN&gt;") = SMTPPort&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpusessl" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/smtpusessl&lt;/A&gt;&lt;SPAN&gt;") = False&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;.Item("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout" target="_blank"&gt;http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout&lt;/A&gt;&lt;SPAN&gt;") = SMTPTimeout&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;.Update&lt;/P&gt;&lt;P&gt;'---------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;End With&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objEmail.To = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:abc@xxxxx.xx.xx" target="_blank"&gt;abc@xxxxx.xx.xx&lt;/A&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:def@xxxxx.xx.xx" target="_blank"&gt;def@xxxxx.xx.xx&lt;/A&gt;&lt;SPAN&gt;"&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;objEmail.From = "&lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:mail@xxxxx.xx.xx" target="_blank"&gt;mail@xxxxx.xx.xx&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;objEmail.Subject = "Reload Qlikview Success" &lt;/P&gt;&lt;P&gt;objEmail.TextBody = "Schedule Reload Qlikview Success" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;objEmail.Send&lt;/P&gt;&lt;P&gt;Set objFlds = Nothing&lt;/P&gt;&lt;P&gt;Set objConf = Nothing&lt;/P&gt;&lt;P&gt;Set objEmail = Nothing&lt;/P&gt;&lt;P&gt;end sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&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/Onpost-Reload-to-Trigger-Macro-Failed/m-p/471775#M1303755</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Onpost Reload to Trigger Macro Failed</title>
      <link>https://community.qlik.com/t5/QlikView/Onpost-Reload-to-Trigger-Macro-Failed/m-p/471776#M1303758</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Reference manual states the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;82.3 Macro trigger limitations&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following triggers are not to be used in the QlikView Server environment, since they lack meaning or&lt;/P&gt;&lt;P&gt;may cause unexpected results:&lt;/P&gt;&lt;P&gt;OnPostReduceData&lt;/P&gt;&lt;P&gt;OnPostReload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bill&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Feb 2013 13:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Onpost-Reload-to-Trigger-Macro-Failed/m-p/471776#M1303758</guid>
      <dc:creator>Bill_Britt</dc:creator>
      <dc:date>2013-02-26T13:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: Onpost Reload to Trigger Macro Failed</title>
      <link>https://community.qlik.com/t5/QlikView/Onpost-Reload-to-Trigger-Macro-Failed/m-p/471777#M1303761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Bill has already pointed out that the Publisher will not execute certain triggers.&lt;/P&gt;&lt;P&gt;However there is a workaround to this. Basic principle is:&lt;/P&gt;&lt;P&gt;1) Create a CMD file on the QlikView Server that will start the reload&lt;/P&gt;&lt;P&gt;2) Create a Windows task that will run the CMD file&lt;/P&gt;&lt;P&gt;3) Create a CMD file that calls the Windows Scheduler&lt;/P&gt;&lt;P&gt;4) In the QMC go to 'Systems' tab, select 'Supporting Tasks' and 'External Programs' and create a new external program task. On the 'Triggers' tab of the just created task, it can be attached to any other existing task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Tobias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Dec 2013 10:18:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Onpost-Reload-to-Trigger-Macro-Failed/m-p/471777#M1303761</guid>
      <dc:creator />
      <dc:date>2013-12-10T10:18:00Z</dc:date>
    </item>
  </channel>
</rss>

