<?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 parse failed when reloading using EDX from fat client. in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-parse-failed-when-reloading-using-EDX-from-fat-client/m-p/474571#M177224</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I have created a reload task in management console using EDX. In the QV application, I have built a button to trigger the macro as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub &lt;SPAN style="color: #ff0000;"&gt;Reload_data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim strTaskPassword&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim strTaskName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim strCommand&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim strServer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim strEDX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; strEDX = "C:\Qlikview\EDX\QMSEDX_CommandLine\QMSEDX.exe"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; strServer = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:4799/QMS/Service"&gt;http://localhost:4799/QMS/Service&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; strTaskName = "Production/Mining Report.qvw"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; strTaskPassword = "123"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; strCommand = Chr(34) &amp;amp; strEDX &amp;amp; Chr(34) &amp;amp; " -task=" &amp;amp; Chr(34) &amp;amp; strTaskName &amp;amp; Chr(34) &amp;amp; " -qms=" &amp;amp; Chr(34) &amp;amp; strServer &amp;amp; Chr(34) &amp;amp; " -password=" &amp;amp; Chr(34) &amp;amp; strTaskPassword &amp;amp; Chr(34) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set WshShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&amp;nbsp; Call WshShell.Run(strCommand,0,False)&lt;/P&gt;&lt;P&gt;end sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function works very well on web client. Every time users click the reload button, it runs the macro which trigger the EDX and then do the reload task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Users have been added to QlikView EDX group otherwise it won't work on web client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is when using fat client to log onto the server and open the application remotely, it shows the error as following and the reload does not start:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Macro parse failed. Functionality was lost.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Reload_data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help please? Why is it working very well on web client but not fat client??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 25 Sep 2013 04:40:49 GMT</pubDate>
    <dc:creator>NZFei</dc:creator>
    <dc:date>2013-09-25T04:40:49Z</dc:date>
    <item>
      <title>Macro parse failed when reloading using EDX from fat client.</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-parse-failed-when-reloading-using-EDX-from-fat-client/m-p/474571#M177224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;I have created a reload task in management console using EDX. In the QV application, I have built a button to trigger the macro as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub &lt;SPAN style="color: #ff0000;"&gt;Reload_data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim strTaskPassword&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim strTaskName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim strCommand&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim strServer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Dim strEDX&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; strEDX = "C:\Qlikview\EDX\QMSEDX_CommandLine\QMSEDX.exe"&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; strServer = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://localhost:4799/QMS/Service"&gt;http://localhost:4799/QMS/Service&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; strTaskName = "Production/Mining Report.qvw"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; strTaskPassword = "123"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; strCommand = Chr(34) &amp;amp; strEDX &amp;amp; Chr(34) &amp;amp; " -task=" &amp;amp; Chr(34) &amp;amp; strTaskName &amp;amp; Chr(34) &amp;amp; " -qms=" &amp;amp; Chr(34) &amp;amp; strServer &amp;amp; Chr(34) &amp;amp; " -password=" &amp;amp; Chr(34) &amp;amp; strTaskPassword &amp;amp; Chr(34) &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Set WshShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&amp;nbsp; Call WshShell.Run(strCommand,0,False)&lt;/P&gt;&lt;P&gt;end sub &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This function works very well on web client. Every time users click the reload button, it runs the macro which trigger the EDX and then do the reload task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Users have been added to QlikView EDX group otherwise it won't work on web client.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the problem is when using fat client to log onto the server and open the application remotely, it shows the error as following and the reload does not start:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Macro parse failed. Functionality was lost.&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;Reload_data&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help please? Why is it working very well on web client but not fat client??&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Sep 2013 04:40:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-parse-failed-when-reloading-using-EDX-from-fat-client/m-p/474571#M177224</guid>
      <dc:creator>NZFei</dc:creator>
      <dc:date>2013-09-25T04:40:49Z</dc:date>
    </item>
  </channel>
</rss>

