<?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 Run Macro from Qlikview Management Console in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550275#M1144350</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having some problems getting a macro to run from the Management Console.&amp;nbsp; I have a qvd (macro.qvd) that has a macro set to run when the file is opened.&amp;nbsp; Then I have a batch file (trigger.bat) that opens that qvd.&amp;nbsp; I also have a second qvd (execute.qvd) that executes the batch file.&amp;nbsp; In the Management console I have a task that reloads the execute.qvd.&amp;nbsp; When running it does execute the the batch file but doesn't appear to run the Macro.&amp;nbsp; Everything works great if I reload the execute.qvd file manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what the files look like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute.qvd:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE cmd.exe /C C:\Qlikview\DevDocuments\SourceDocuments\Applications\Manufacturing\Emails\Batch\TriggerMacro.bat;&lt;/P&gt;&lt;P&gt;EXIT SCRIPT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trigger.bat:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TITLE RELOAD - EXPORT - MAIL BATCH&lt;/P&gt;&lt;P&gt;ECHO OFF&lt;/P&gt;&lt;P&gt;CLS&lt;/P&gt;&lt;P&gt;ECHO The Dashboard is reloading.&lt;/P&gt;&lt;P&gt;ECHO This may take several minutes to execute and may appear&lt;/P&gt;&lt;P&gt;ECHO to be unresponsive. This is normal.&lt;/P&gt;&lt;P&gt;ECHO Please be patient and do not exit.&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\QV.exe" /NoSecurity /VvSendEmail=1 /VvEmailType=Interior /VvTestEmail=0 "C:\Qlikview\DevDocuments\SourceDocuments\Applications\Manufacturing\KPI- Doors Manf.qvw" &lt;/P&gt;&lt;P&gt;EXIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions why this is not working from the Management Console?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 29 Aug 2013 17:15:27 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-29T17:15:27Z</dc:date>
    <item>
      <title>Run Macro from Qlikview Management Console</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550275#M1144350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having some problems getting a macro to run from the Management Console.&amp;nbsp; I have a qvd (macro.qvd) that has a macro set to run when the file is opened.&amp;nbsp; Then I have a batch file (trigger.bat) that opens that qvd.&amp;nbsp; I also have a second qvd (execute.qvd) that executes the batch file.&amp;nbsp; In the Management console I have a task that reloads the execute.qvd.&amp;nbsp; When running it does execute the the batch file but doesn't appear to run the Macro.&amp;nbsp; Everything works great if I reload the execute.qvd file manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is what the files look like.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Execute.qvd:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;EXECUTE cmd.exe /C C:\Qlikview\DevDocuments\SourceDocuments\Applications\Manufacturing\Emails\Batch\TriggerMacro.bat;&lt;/P&gt;&lt;P&gt;EXIT SCRIPT;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Trigger.bat:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TITLE RELOAD - EXPORT - MAIL BATCH&lt;/P&gt;&lt;P&gt;ECHO OFF&lt;/P&gt;&lt;P&gt;CLS&lt;/P&gt;&lt;P&gt;ECHO The Dashboard is reloading.&lt;/P&gt;&lt;P&gt;ECHO This may take several minutes to execute and may appear&lt;/P&gt;&lt;P&gt;ECHO to be unresponsive. This is normal.&lt;/P&gt;&lt;P&gt;ECHO Please be patient and do not exit.&lt;/P&gt;&lt;P&gt;"C:\Program Files\QlikView\QV.exe" /NoSecurity /VvSendEmail=1 /VvEmailType=Interior /VvTestEmail=0 "C:\Qlikview\DevDocuments\SourceDocuments\Applications\Manufacturing\KPI- Doors Manf.qvw" &lt;/P&gt;&lt;P&gt;EXIT&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions why this is not working from the Management Console?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 17:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550275#M1144350</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-29T17:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from Qlikview Management Console</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550276#M1144351</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;Make sure that you have checked in the QMC, System, Setup, QlikView Server, Security tab, "Allow unsafe macro execution on Server".&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, 29 Aug 2013 17:29:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550276#M1144351</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2013-08-29T17:29:12Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from Qlikview Management Console</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550277#M1144352</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Macros are not triggered by publisher.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Look through the site for info about it; for example &lt;/SPAN&gt;&lt;A class="jive-link-message-small" data-containerid="2072" data-containertype="14" data-objectid="62917" data-objecttype="2" href="http://community.qlik.com/message/62917#62917"&gt;http://community.qlik.com/message/62917&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 17:32:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550277#M1144352</guid>
      <dc:creator />
      <dc:date>2013-08-29T17:32:43Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from Qlikview Management Console</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550278#M1144353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The "allow unsafe macro" option has already been selected.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 17:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550278#M1144353</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-29T17:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from Qlikview Management Console</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550279#M1144355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alessandro,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm not trying to get the publisher to run the macro.&amp;nbsp; I want the publisher to reload the qvd (execute.qvd).&amp;nbsp; Then the batch file should open my qvd file and the trigger is set to run the macro when the file is opened.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Aug 2013 17:54:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550279#M1144355</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-29T17:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from Qlikview Management Console</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550280#M1144358</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Heather,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to run BAT files, try using the Supporting Tasks in the QMC, System, Supporting Tasks, External Program, and the command line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure you create dependencies in the Triggers between tasks, so all of them are triggered in order.&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>Mon, 02 Sep 2013 09:52:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550280#M1144358</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2013-09-02T09:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Run Macro from Qlikview Management Console</title>
      <link>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550281#M1144360</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Not possible to Run Macro Directly through QMC. You must have to call Windows Tasks using QMC....&amp;amp; with the help of windows task macro will run.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Sep 2013 11:00:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Run-Macro-from-Qlikview-Management-Console/m-p/550281#M1144360</guid>
      <dc:creator />
      <dc:date>2013-09-02T11:00:38Z</dc:date>
    </item>
  </channel>
</rss>

