<?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 Creating a VBScript for EDX in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444749#M165875</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 am very new to QlickView, I have vast experience in using Business Objects but this is my first assignment with QlikView. We are upgrading to QV11 and one of the hurdles I am facing is to update the report "Reload" button which executes a "Task" in QV10. Apparently from reading blogs and community articles I have realized that there are a few .NET C# based resolutions; however in my case we don't want to use that route. So any pointers or any guide with this would be really helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Dec 2012 14:50:53 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-12-17T14:50:53Z</dc:date>
    <item>
      <title>Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444749#M165875</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 am very new to QlickView, I have vast experience in using Business Objects but this is my first assignment with QlikView. We are upgrading to QV11 and one of the hurdles I am facing is to update the report "Reload" button which executes a "Task" in QV10. Apparently from reading blogs and community articles I have realized that there are a few .NET C# based resolutions; however in my case we don't want to use that route. So any pointers or any guide with this would be really helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Dec 2012 14:50:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444749#M165875</guid>
      <dc:creator />
      <dc:date>2012-12-17T14:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444750#M165876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've experienced your problem. The QV10 VB macro script to trigger an EDX task&amp;nbsp; (via http post) doesn't work anymore in QV11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead, you should use a different macro script. These links really helped me migrating the VB code:&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading active_link" href="https://community.qlik.com/thread/47353" title="http://community.qlik.com/thread/47353"&gt;Qlikview 11 EDX&lt;/A&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/docs/DOC-2650" title="http://community.qlik.com/docs/DOC-2650"&gt;http://community.qlik.com/docs/DOC-2650&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/thread/47353" title="http://community.qlik.com/thread/47353"&gt;Qlikview 11 EDX&lt;/A&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/docs/DOC-2650" title="http://community.qlik.com/docs/DOC-2650"&gt;Using EDX in QlikView 11&lt;/A&gt;&lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/thread/47353" title="http://community.qlik.com/thread/47353"&gt;http://community.qlik.com/thread/47353&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The basic idea is that you have to use an .EXE file to help you trigger the EDX task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you need further help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Dec 2012 17:50:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444750#M165876</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-12-18T17:50:56Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444751#M165877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Fernando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What if I have to execute the .bat file from a button that I create on a qvw file. I have copied the exe on my QlikView Server and I am writing a small Macro to execute the exe. I keep running into an error. I have tried to execute the EXE in command Line from the server and the task was executing perfectly fine. The following is the code I am using to execute exe on the server (which should trigger the task):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub QmsEdxCmd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dim strTaskName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'dim strTaskPassword&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dim strServer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dim strCommand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'strTaskName= ActiveDocument.Evaluate("vTask")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strTaskName= ActiveDocument.Variables("vTask").GetContent.String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'MsgBox(strTaskName)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'strTaskPassword= ActiveDocument.Variables("vPassword").GetContent.String&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strServer = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;servername&amp;gt;:4799/QMS/Service"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strCommand = "C:\ProgramData\QlikTech\QMSEDX\qmsedx.exe -task="&amp;amp;strTaskName&amp;amp;" -qms="&amp;amp;strServer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'MsgBox(strCommand)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-password="&amp;amp;strTaskPassword"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set WshShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'WshShell.Run(strCommand),0,false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WshShell.Run "cmd /K C:\ProgramData\QlikTech\QMSEDX\QMSEDX.exe -task=TASK_APIGuide"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WshShell.Echo "Task Executed!!!"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Following is the error message that I get:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Macro Parse Failed. Functionality was lost&lt;/P&gt;&lt;P&gt;QmsEdxCmd&lt;/P&gt;&lt;P&gt;Error: Permission Denied&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have checked my permissions and made sure that I am in the servers Admin Group as well as in the QlikView EDX group.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I change the last part of the code from&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set WshShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'WshShell.Run(strCommand),0,false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WshShell.Run "cmd /K C:\ProgramData\QlikTech\QMSEDX\QMSEDX.exe -task=TASK_APIGuide"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WshShell.Echo "Task Executed!!!"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TO&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set WshShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WshShell.Run(strCommand,0,false)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WshShell.Echo "Task Executed!!!"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I get the following error message:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Macro Parse Failed. Functionality was lost&lt;/P&gt;&lt;P&gt;QmsEdxCmd&lt;/P&gt;&lt;P&gt;Error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Nothing mentioned in the Error)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what wrong am I doing but seems like I am missing a very critical piece of the puzzle. Any help would be appreciated on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 14:34:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444751#M165877</guid>
      <dc:creator />
      <dc:date>2012-12-19T14:34:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444752#M165878</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So in other words I am not able to execute the .EXE from my Macro&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 14:35:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444752#M165878</guid>
      <dc:creator />
      <dc:date>2012-12-19T14:35:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444753#M165879</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In the WshShell.Run function, are you also indicating the task password? The above code doesn't, and it is a mandatory parameter..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 16:01:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444753#M165879</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-12-19T16:01:25Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444754#M165880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okk I did some research and found out that the Password is not a mandatory field; however just to cover that base I changed my code to:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sub QmsEdxCmd&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dim strTaskName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dim strTaskPassword&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dim strServer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dim strCommand&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'strTaskName= ActiveDocument.Evaluate("vTask")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strTaskName= ActiveDocument.Variables("vTask").GetContent.String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox(strTaskName)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strTaskPassword= ActiveDocument.Variables("vPassword").GetContent.String&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox(strTaskPassword)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strServer = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://win-q5gscfalk54:4799/QMS/Service"&gt;http://win-q5gscfalk54:4799/QMS/Service&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strCommand = "\\win-q5gscfalk54\C:\ProgramData\QlikTech\QMSEDX\qmsedx.exe -task="&amp;amp;strTaskName&amp;amp;" -qms="&amp;amp;strServer&amp;amp;" -password="&amp;amp;strTaskPassword&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox(strCommand)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '-password="&amp;amp;strTaskPassword"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set WshShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox("I am here")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WshShell.Run(strCommand),0,false&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 'WshShell.Run "cmd /K \\win-q5gscfalk54\C:\ProgramData\QlikTech\QMSEDX\qmsedx.exe -task=TASK_APIGuide"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MsgBox("Task Executed!!!")&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;end sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And still not able to execute it. I am trying to run it from a button in a qvw file through Access Point using IE plugin, I want to understand how would this code execute? Would it be on server side or on the client machine(that is mine)? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 23:05:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444754#M165880</guid>
      <dc:creator />
      <dc:date>2012-12-19T23:05:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444755#M165881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm pretty sure I've seen the mandatory pwd somewhere but couldn't find it... but you're right, I've taken a look at the server reference manual and it says it is an optional parameter. Maybe I'm crazy, took much work... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using IE Plugin, the VBScript macro will run on the client machine. So the qmsedx.exe, which is located in the server, has to be in a shared folder accessible by the clients that will run the edx. And the macro must reference this shared folder (for example \\server\sharedfoldername\qmsedx.exe).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you're using Ajax, the macro will run on the server side (i'm not 100% sure, maybe someone can confirm this...). So the code will reference the local path to the file (for example c:\ProgramData\QlikTech\QMSEDX\qmsedx.exe).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 10:54:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444755#M165881</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-12-20T10:54:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444756#M165882</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The code you're executing is probably running locally and should run the .exe on the server. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You mentioned you were trying to do this through the access point, can you run the script if you open the QVW in your client and click the button there?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm sort of in a same boat as you. Except I'm only using a .bat file on the server with the .exe. I have an external system that is going to execute the .bat file after a batch job is done and the .bat file will kick off a specific QVD refresh in Publisher.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At the moment, I am getting an access denied problem as well. I think this is because the service account for the external system that will run the .bat file is not in the admin/edx group. I will try this today and get back to you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 14:03:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444756#M165882</guid>
      <dc:creator />
      <dc:date>2012-12-20T14:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444757#M165883</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ethan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for replying to me, I tried running the exe from my local machine using the QV Client; however I realized that while doing so we have to pass a -qms with server API details eg(&lt;A class="loading" href="http://win-q5gscfalk54:4" title="http://win-q5gscfalk54:4"&gt;http://&amp;lt;servername&amp;gt;:&lt;/A&gt;4799/QMS/Service) &amp;amp; this would try to invoke a connection using "&lt;STRONG&gt;http protocol&lt;/STRONG&gt;" which is not allowed in QV11. So the exe will not run locally from a client machine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if you don't agree with my understanding on this and feel free to correct me. I have tried to run the following command:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;C:\QMSEDX&amp;gt;qmsedx.exe -task=TASK_Name -qms=&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;SPAN&gt;&amp;lt;servername&amp;gt;:4799/QMS/Service&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 14:48:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444757#M165883</guid>
      <dc:creator />
      <dc:date>2012-12-20T14:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444758#M165884</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm not trying to run anything from within a QVW, so your situation may be different.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I currently have the .exe file on the Qlikview server, as well as the .bat file. Here is the script from the .bat file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/"&gt;\\&amp;lt;servername&amp;gt;\qliktech\SourceDocuments\TRIGGERS\QMSEDX.exe&amp;gt;qmsedx&lt;/A&gt; &lt;/P&gt;&lt;P&gt;-qms="&lt;A href="http://SWQLIKV2:4799/QMS/SERVICE"&gt;http://&amp;lt;servername&amp;gt;:4799/QMS/SERVICE&lt;/A&gt;" -task=EDX_QVD_TEST &lt;A href="mailto:-password=@123"&gt;-password=@123&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Make sure that the location of the QMSEDX is correct based on where/what you're running the .bat file from.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This works when running it locally on the server. It does not work yet when using the external system. As I mentioned before, this could be ebcause the service account of my external system needs to be put into the qlikview admin/EDX group, which Im working on getting right now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 15:19:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444758#M165884</guid>
      <dc:creator />
      <dc:date>2012-12-20T15:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444759#M165885</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okk, now I understand your Use Case. In my case we want to trigger a Task from a report and that task can trigger a .bat file. That's the reason I have kept my QMSEDX.exe in the server and trying to execute it from a report. One thing that I have learned is that probably the location of the my file is not correct. Let me put that under Source Documents.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see you want to trigger a Task that is defined in the .bat file. How (what mechanism) are you planning to trigger the .bat file? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 15:31:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444759#M165885</guid>
      <dc:creator />
      <dc:date>2012-12-20T15:31:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444760#M165886</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am going to use an external scheduling system that can be used to schedule any sort of job, UNIX, java, etc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After our batch jobs are done early in the morning, the external scheduler will send a signal to the .bat file to execute it, thus kicking off the Qlikview Publisher job associated with the QVD's that contain data from the batch jobs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My main purpose behind this isnt to refresh QVW's but to sync QVD refreshes off of batch jobs.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 15:41:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444760#M165886</guid>
      <dc:creator />
      <dc:date>2012-12-20T15:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444761#M165887</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You may want to approach this differently. I believe you may be able to just specify the name of the QVW you want to refresh in this situation. You don't need to involve the scheduler at all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just try the QVW name and no password. See if that works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 15:45:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444761#M165887</guid>
      <dc:creator />
      <dc:date>2012-12-20T15:45:41Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444762#M165888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I got it... Our main purpose here is to have a refresh on Demand kind of feature, so a user can refresh a document on its own willor execute a task on its own will. I am not too sure why QlikView has made this so complicated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 15:45:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444762#M165888</guid>
      <dc:creator />
      <dc:date>2012-12-20T15:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444763#M165889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did just the QVW name work for you?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Come the time this is resolved, please make sure you mark correct/helpful answers as I've seen questions about EDX happening daily on the community. It will help everyone else out.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 18:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444763#M165889</guid>
      <dc:creator />
      <dc:date>2012-12-20T18:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444764#M165890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No it didn't work. I am running out of options and I think I might have to go the API route, writing one in .NET seems to be the only possible way to me.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Dec 2012 18:58:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444764#M165890</guid>
      <dc:creator />
      <dc:date>2012-12-20T18:58:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444765#M165891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nitin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the EDX in a QVW's on-demand reload by a click in a button in the same QVW's interface. This is what you also need right? It seems that you are almost there, don't give up... I also almost gave up trying to make it work..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the code I got working in my qvw (it seems that yours is ok...):&lt;/P&gt;&lt;P&gt;function RequestEDX(sEDXTask)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dim strServer&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dim strTaskName&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dim strCommand&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; dim strReturnValue&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strServer = "&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://servername:4799/QMS/Service"&gt;http://servername:4799/QMS/Service&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strTaskName = sEDXTask&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strCommand = "\\servername\QMSEDX_CommandLine\qmsedx.exe" &amp;amp; _&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " -qms=" &amp;amp; chr(34) &amp;amp; strServer &amp;amp; chr(34) &amp;amp; _&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " -task=" &amp;amp; chr(34) &amp;amp; strTaskName &amp;amp; chr(34) &amp;amp; _&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " -password=xxxxx" &amp;amp; _&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; " -timeout=600"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set WshShell = CreateObject("WScript.Shell")&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; strReturnValue = WshShell.Run (strCommand, 0, true)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RequestEDX = strReturnValue&lt;/P&gt;&lt;P&gt;end function&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Oh, do you have the QMSEDX.exe.config file in the same folder as the QMSEDX.exe file? This is important. This file comes in the same package of the exe file. You have to edit this QMSEDX.exe.config file and insert your server's name:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;client&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endpoint address="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;STRONG&gt;yourservername&lt;/STRONG&gt;:4799/QMS/Service" binding="basicHttpBinding"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bindingConfiguration="BasicHttpBinding_IQMS" contract="QMSAPI.IQMS"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="BasicHttpBinding_IQMS"/&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;endpoint address="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://"&gt;http://&lt;/A&gt;&lt;STRONG&gt;yourservername&lt;/STRONG&gt;:4799/ANY/Service" binding="basicHttpBinding"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bindingConfiguration="BasicHttpBinding_IQTService" contract="QMSAPI.IQTService"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; name="BasicHttpBinding_IQTService" /&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/client&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;These are the steps I'd recommend you doing/checking:&lt;/P&gt;&lt;P&gt;1. Ensure that the EDX trigger is working locally in the server. It seems that you already got this right?&lt;/P&gt;&lt;P&gt;2. Share the folder containing the QMSEDX.exe file, granting permission to the users that will have this EDX reload mechanism&lt;/P&gt;&lt;P&gt;3. In the client machine, try to map the the server's shared folder to check if it is accessible by the current user&lt;/P&gt;&lt;P&gt;4. Create a .bat file with the command line, referencing the QMSEDX.exe file in the server's shared folder, run it in the client machine, and check if the task was triggered&lt;/P&gt;&lt;P&gt;5. In the QVW, go to the macro module and select the 'System Access' options.&lt;/P&gt;&lt;P&gt;6. In the server, go to System &amp;gt; Setup &amp;gt; QVServer &amp;gt; Security &amp;gt; Allow unsafe macro execution on server&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;7. In the client's IE, go to Tools &amp;gt; Internet Options &amp;gt; Security &amp;gt; Local Intranet &amp;gt; Sites &amp;gt; Advanced &amp;gt; Add the website to the zone &amp;gt; Insert your server's path (&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://servername/qlikview"&gt;http://servername/qlikview&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;8. Clear the Browser's history&lt;/P&gt;&lt;P&gt;9. When navigating in the QVW with IE, type CTRL+SHIFT+M and select the System Access option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, I'll wait for your feedback and if it still not works, I'll try to remember if I missed something...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Dec 2012 00:28:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444765#M165891</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2012-12-21T00:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444766#M165892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Fernando,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the encouraging words and sharing your expertise over this matter. I tried everything that you mentioned and was still not able to get it running; hence I started to peel off all the layers involved in the entire solution and realized that the port 4799 needs to be opened and listening, in my case although the port was open on the server, it was not listening any requests made to it. Hence I had to enable port 4799 to be able to receive and listen to any new requests/calls made to it. &lt;/P&gt;&lt;P&gt;Once I was able to do "telnet" from my machine on port 4799 on my server, I was successfully able to execute QMSEDX.exe from my PC&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nitin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2012 18:30:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444766#M165892</guid>
      <dc:creator />
      <dc:date>2012-12-27T18:30:14Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444767#M165893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great Nitin! Glad I could help you, though you fund the solution by yourself... &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Fernando&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 Jan 2013 10:48:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444767#M165893</guid>
      <dc:creator>fosuzuki</dc:creator>
      <dc:date>2013-01-02T10:48:30Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a VBScript for EDX</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444768#M165894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I too am trying something with manual reload, with partial success. My problem statement is related to the next step after reload.&lt;/P&gt;&lt;P&gt;Possibly, someone could help me out here. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P&gt;This is what I want to achieve:&lt;SPAN style="color: #0000ff;"&gt;&lt;EM&gt; Trigger reload on button click on server. After reload finishes, a msgbox should appear indicating status, and also qvw document should be refreshed , so that the effect is immediately visible, without the user having to do a manual refresh.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is how I went about solving the &lt;SPAN style="color: #0000ff;"&gt;first issue: 'reload on button click'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I use qlikview version 9, which does not have qmsedx.exe..,so using edx is slightly different, I guess.&lt;/P&gt;&lt;P&gt;But, it didn't work and another method gave me the results.&lt;/P&gt;&lt;P&gt;So, this is what finally worked for me:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a macro:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;Sub External2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Set WshShell = CreateObject("WScript.Shell")&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Command="D:\testserver.bat"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; status=WshShell.Run(Command,0,1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if(status=0) then&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WshShell.Popup "Reload Completed"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; end if&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ActiveDocument.SetClearState&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;End Sub&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;where the content of server.bat is &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #ff00ff;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color: #ff00ff;"&gt;"C:\Program Files\QlikView\Publisher\Distribution Service\QlikviewDistributionService.exe" -r="C:\QlikViewMount\RN60-ConsolidatedCostofProgrammingReport.qvw"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;My problem is in IE,while&amp;nbsp; calling the macro on button click , the server times out(&lt;SPAN style="color: #ff0000;"&gt;though reload happens and I have to open the doc again&lt;/SPAN&gt;)..I believe it is becaue of the run command WshShell.Run(Command,0,1)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;if I give msgbox "Reload Completed" instead of&amp;nbsp; WshShell.Popup ,&lt;SPAN style="color: #ff0000;"&gt; the reload happens and server does not timeout&lt;/SPAN&gt;, but, the msgbox is not displayed and also&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333;"&gt;ActiveDocument.SetClearState is not executed and I have to refresh the document manually to see the changes.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I tried Wscript.Sleep method, but qlikview gave me 'Wscript object not found' error.&lt;/P&gt;&lt;P&gt;Is there any way I can solve this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and Regards,&lt;/P&gt;&lt;P&gt;Anju&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Jan 2013 06:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-a-VBScript-for-EDX/m-p/444768#M165894</guid>
      <dc:creator />
      <dc:date>2013-01-04T06:22:28Z</dc:date>
    </item>
  </channel>
</rss>

