<?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 does not run in server but run in client in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Macro-does-not-run-in-server-but-run-in-client/m-p/1081058#M360217</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a macro that run a batch file , the bat file use psftp to upload the output of macro into sftp server. when I press the button in client version everything is work perfect, but when I try to use the same macro using access point (using IE browser) the psftp does not upload the file (Red colour line).&lt;/P&gt;&lt;P&gt;(I try to use UNC, but it does not work )&lt;/P&gt;&lt;P&gt;The macro code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim obj&lt;/P&gt;&lt;P&gt;Set obj = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;obj.Run "\\ServerSharedFolder\sftp\C1t.bat " &amp;amp; vFilePath &amp;amp; " " &amp;amp; &lt;SPAN style="font-size: 13.3333px;"&gt;vFileName&lt;/SPAN&gt; ,1 , TRUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The .bat file content :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@echo put %1&amp;nbsp; &amp;gt; C:\Users\&lt;SPAN style="font-size: 13.3333px;"&gt;myuser&lt;/SPAN&gt;\Desktop\SFTP\%2.src&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;C:\Users\myuser\Desktop\SFTP\psftp.exe abc@ServerIP&amp;nbsp; -b C:\Users\&lt;SPAN style="font-size: 13.3333px;"&gt;myuser&lt;/SPAN&gt;\Desktop\SFTP\%2.src&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;del C:\Users\&lt;SPAN style="font-size: 13.3333px;"&gt;myuser&lt;/SPAN&gt;\Desktop\SFTP\%2.src&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe my macro code need some change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 28 Mar 2016 15:32:42 GMT</pubDate>
    <dc:creator />
    <dc:date>2016-03-28T15:32:42Z</dc:date>
    <item>
      <title>Macro does not run in server but run in client</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-does-not-run-in-server-but-run-in-client/m-p/1081058#M360217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a macro that run a batch file , the bat file use psftp to upload the output of macro into sftp server. when I press the button in client version everything is work perfect, but when I try to use the same macro using access point (using IE browser) the psftp does not upload the file (Red colour line).&lt;/P&gt;&lt;P&gt;(I try to use UNC, but it does not work )&lt;/P&gt;&lt;P&gt;The macro code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dim obj&lt;/P&gt;&lt;P&gt;Set obj = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;obj.Run "\\ServerSharedFolder\sftp\C1t.bat " &amp;amp; vFilePath &amp;amp; " " &amp;amp; &lt;SPAN style="font-size: 13.3333px;"&gt;vFileName&lt;/SPAN&gt; ,1 , TRUE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The .bat file content :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@echo put %1&amp;nbsp; &amp;gt; C:\Users\&lt;SPAN style="font-size: 13.3333px;"&gt;myuser&lt;/SPAN&gt;\Desktop\SFTP\%2.src&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff0000;"&gt;C:\Users\myuser\Desktop\SFTP\psftp.exe abc@ServerIP&amp;nbsp; -b C:\Users\&lt;SPAN style="font-size: 13.3333px;"&gt;myuser&lt;/SPAN&gt;\Desktop\SFTP\%2.src&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;del C:\Users\&lt;SPAN style="font-size: 13.3333px;"&gt;myuser&lt;/SPAN&gt;\Desktop\SFTP\%2.src&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I believe my macro code need some change.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Mar 2016 15:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-does-not-run-in-server-but-run-in-client/m-p/1081058#M360217</guid>
      <dc:creator />
      <dc:date>2016-03-28T15:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Macro does not run in server but run in client</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-does-not-run-in-server-but-run-in-client/m-p/1081059#M360218</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;*Make sure you are granting System Access to your macros in the server through QEMC (System, Setup, QlikView Servers, expand and click, Seucrity tab in the right pane "Allow unsafe macro execution on server" and "Allow macro execution on server" ticked) and in the Macro editor, (Ctrl + M, bottom left drop downs)&lt;/P&gt;&lt;P&gt;*If they are creating some filesystem object (such an excel file) make sure you are using the IE Plugin.&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: #000000;"&gt;Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 06:29:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-does-not-run-in-server-but-run-in-client/m-p/1081059#M360218</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2016-03-29T06:29:54Z</dc:date>
    </item>
    <item>
      <title>Re: Macro does not run in server but run in client</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-does-not-run-in-server-but-run-in-client/m-p/1081060#M360219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Avinash, Thanks for reply, &lt;BR /&gt;I already have done all of these configurations before&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px;"&gt; and I am using IE but it does not work. &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 06:41:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-does-not-run-in-server-but-run-in-client/m-p/1081060#M360219</guid>
      <dc:creator />
      <dc:date>2016-03-29T06:41:50Z</dc:date>
    </item>
    <item>
      <title>Re: Macro does not run in server but run in client</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-does-not-run-in-server-but-run-in-client/m-p/1081061#M360220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you using plugin or WebView (Ajax) as client? This will only work with plugin.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 06:50:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-does-not-run-in-server-but-run-in-client/m-p/1081061#M360220</guid>
      <dc:creator>jerrysvensson</dc:creator>
      <dc:date>2016-03-29T06:50:23Z</dc:date>
    </item>
    <item>
      <title>Re: Macro does not run in server but run in client</title>
      <link>https://community.qlik.com/t5/QlikView/Macro-does-not-run-in-server-but-run-in-client/m-p/1081062#M360221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Jerry, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I am using IE QV&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;plugin.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Mar 2016 06:59:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Macro-does-not-run-in-server-but-run-in-client/m-p/1081062#M360221</guid>
      <dc:creator />
      <dc:date>2016-03-29T06:59:04Z</dc:date>
    </item>
  </channel>
</rss>

