<?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: Create ExternalProgramTask with the QMS API in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Create-ExternalProgramTask-with-the-QMS-API/m-p/496297#M1267182</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leo,&lt;/P&gt;&lt;P&gt;please take a look here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/104569"&gt;QlikView Management API for managing document tasks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to develop a program using QMS API to delete all tasks linked with a specific .qvw source document &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;and then create all tasks reading an sql server table with user profiles.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That program should be scheduled during the night.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me with some piece of code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jan 2014 17:04:50 GMT</pubDate>
    <dc:creator>agigliotti</dc:creator>
    <dc:date>2014-01-23T17:04:50Z</dc:date>
    <item>
      <title>Create ExternalProgramTask with the QMS API</title>
      <link>https://community.qlik.com/t5/QlikView/Create-ExternalProgramTask-with-the-QMS-API/m-p/496294#M1267177</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;&lt;/P&gt;&lt;P&gt;Anyone know if it's possible create an ExternalProgramTask with the QMS API? I can't find the way...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot.&lt;/P&gt;&lt;P&gt;Leo&lt;/P&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/Create-ExternalProgramTask-with-the-QMS-API/m-p/496294#M1267177</guid>
      <dc:creator>leonardo_raed</dc:creator>
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: Create ExternalProgramTask with the QMS API</title>
      <link>https://community.qlik.com/t5/QlikView/Create-ExternalProgramTask-with-the-QMS-API/m-p/496295#M1267179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do you want to trigger a QlikView task or an external program and do you have publisher?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 08:56:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-ExternalProgramTask-with-the-QMS-API/m-p/496295#M1267179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-12-18T08:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create ExternalProgramTask with the QMS API</title>
      <link>https://community.qlik.com/t5/QlikView/Create-ExternalProgramTask-with-the-QMS-API/m-p/496296#M1267180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nils,&lt;/P&gt;&lt;P&gt;I need to create a new Publisher task using the QMS API. Using the API, you can create simple document task but not the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;ExternalProgramTask.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt; &lt;IMG alt="Sin título111.png" class="jive-image" src="/legacyfs/online/50600_Sin título111.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif;"&gt;Leo.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 11:43:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-ExternalProgramTask-with-the-QMS-API/m-p/496296#M1267180</guid>
      <dc:creator>leonardo_raed</dc:creator>
      <dc:date>2013-12-18T11:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Create ExternalProgramTask with the QMS API</title>
      <link>https://community.qlik.com/t5/QlikView/Create-ExternalProgramTask-with-the-QMS-API/m-p/496297#M1267182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Leo,&lt;/P&gt;&lt;P&gt;please take a look here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/104569"&gt;QlikView Management API for managing document tasks&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have to develop a program using QMS API to delete all tasks linked with a specific .qvw source document &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;and then create all tasks reading an sql server table with user profiles.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That program should be scheduled during the night.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you help me with some piece of code ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;Andrea&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jan 2014 17:04:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-ExternalProgramTask-with-the-QMS-API/m-p/496297#M1267182</guid>
      <dc:creator>agigliotti</dc:creator>
      <dc:date>2014-01-23T17:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: Create ExternalProgramTask with the QMS API</title>
      <link>https://community.qlik.com/t5/QlikView/Create-ExternalProgramTask-with-the-QMS-API/m-p/496298#M1267184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 13.3333px;"&gt;so you want to &lt;STRONG&gt;use edx&lt;/STRONG&gt; and you &lt;STRONG&gt;dont have publisher&lt;/STRONG&gt;, then this is the post for you!&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;what can you even do with edx??? &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/confused.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;you can run a reload task from a remote api or from qlikview client.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;well, for this you dont need edx!, you can create a scheduled reload and trigger it from the api (qms), but &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/alert.png" /&gt;, if you want to pass parameters to that reload process and you dont have the publisher then edx is the thing for you!, or if you want to create more then one type of reload, like partial reload, then also this manual is for you &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;the things you'll need to know (just as reference you can skip if you want):&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. QlikView Management API (or QMS) - qlikview has created an api to use with their server, &lt;SPAN style="font-size: 13.3333px;"&gt;you can find the api here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://community.qlik.com/docs/DOC-2683"&gt;QMS API Documentation - Version 11&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. you can connect to the api using this link:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;A href="https://community.qlik.com/docs/DOC-3648"&gt;QlikView Management API - Getting Started and Examples&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. the documentation is not going to help you too much and most of what you actually want is not there,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; with that being said, you can create tasks without the Publisher.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;to create task you'll need to do those steps:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. connect to the QMSBackendService (you can see it in the attached code).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. use c# code to create the task.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. change the xml of the task and restart the service. (not always but its nice to know its possible)&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4. add macro to your qvw that runs exe on the server that starts the tasks.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;so should you buy the publisher? maybe, if you dont want all the coding hassle, &lt;BR /&gt;if you decided not to buy it, just a good references to go around it can be found here:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. &lt;A href="https://github.com/braathen/qv-edx-trigger" title="https://github.com/braathen/qv-edx-trigger"&gt;braathen/qv-edx-trigger · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. &lt;A href="https://github.com/braathen/qv-user-manager" style="text-decoration: underline;" title="https://github.com/braathen/qv-user-manager"&gt;braathen/qv-user-manager · GitHub&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. &lt;A href="https://community.qlik.com/docs/DOC-3024"&gt;Using EDX in QlikView 11 - basic example&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;so lets start&lt;/STRONG&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1. first download my code, now you need to update the service reference, or change the app.config with your server address,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; preferably, you have visual studio installed on the qlikview machine and you update the service from there.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; compile the code and put the code on the same machine as qlikview if you want to do reloads from the qlikview client,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if you want to do reloads from some wabsite or console than just make sure the &lt;SPAN style="font-size: 13.3333px;"&gt;connection is working&lt;/SPAN&gt;.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2. to test for connection you can open cmd (shift + mouse right click then Open command window here)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run: &lt;STRONG&gt;qv-user-manager.exe -l tasks&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this will show you all current tasks, (except currently running tasks).&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3. to create edx you can run the parameters:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run: &lt;STRONG&gt;qv-user-manager.exe --document=YourDocName.qvw --action=create --type=edx&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/STRONG&gt;4. now you can see the edx task in:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; QlikView Management Console -&amp;gt; Status -&amp;gt; Tasks&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; you can aslo pass parameter to your load script.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 5. you can run your edx by:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; doc name and task type:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a. run: &lt;STRONG&gt;qv-user-manager.exe --document=&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;YourDocName&lt;/STRONG&gt;&lt;/SPAN&gt;.qvw --action=run --type=edx&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; task name: &lt;SPAN style="font-size: 13.3333px;"&gt;(use "quote" if you have space in task name)&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; b. run: &lt;STRONG&gt;qv-user-manager.exe --action=run --name="Edx Reload of &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;YourDocName&lt;/STRONG&gt;&lt;/SPAN&gt;.qvw"&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; task id (guid): (just run task list and copy-paste from the log file)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c. &lt;STRONG&gt;qv-user-manager.exe --action=run --name=230b043c-8be3-4762-a359-8f217d600df1&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; add parameter:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; just add to any of the above:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; --type=edx --variable=varAjaxReload --values=1&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;ok, so now we have created the edx task and we know how to use it, we can use this code from a website or some private api service, but now we want to delete some service,&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;&lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/alert.png" /&gt; important: you can see all tasks and triggers in C:\ProgramData\QlikTech\DistributionService&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;but deleting the .xml from tasks or triggers will make your Distribution Service (ReloadEngine) stop working!!!&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;STRONG&gt;it will not restart the next time. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/alert.png" /&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6.to delete a task and its trigger you can only do it using the api:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; (you can also use the 3 methods in run but its better use the name or id from the log)&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; task id (guid):&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; run: &lt;STRONG&gt;qv-user-manager.exe --action=remove --name=230b043c-8be3-4762-a359-8f217d600df1&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; now you can also delete the task and trigger xml both are marked with the Guid, here it was:&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Task_230b043c-8be3-4762-a359-8f217d600df1.xml&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Triggers_230b043c-8be3-4762-a359-8f217d600df1.xml&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; you can write code to delete those xml but to avoid errors i decided against it.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-size: 13.3333px;"&gt;7. &lt;/SPAN&gt;&lt;STRONG&gt;now if you want to run the reload task from the qlikview client&lt;/STRONG&gt;, this is basically writing a code that will run the task&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; using shell command, &lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;to run the task you can see the qvw i attached, &lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; line-height: 1.5em;"&gt;after openning it go to:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Tools -&amp;gt; Edit Module...&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; to see the script call.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; you also need to put the build exe file somewhere so you can call it from the macro.&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; this will only work if you &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;enabling the &lt;/SPAN&gt;&lt;SPAN style="color: #000000; font-size: 11px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt;Allow macro execution on server&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt; and&lt;/SPAN&gt;&lt;SPAN style="font-size: 13.3333px; font-style: inherit; font-family: inherit; font-weight: inherit;"&gt;&lt;STRONG&gt; &lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 11px; font-family: Tahoma; color: #000000;"&gt;Allow unsafe macro execution on server&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt; on your Qlikview&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Server Managment Console.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="font-weight: inherit; font-style: inherit; font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Go to System-&amp;gt;Setup-&amp;gt;Qlikview Servers-&amp;gt;Security tab.&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; you might also need to enable macros in the document&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Go to Tools -&amp;gt; Edit Module -&amp;gt; Requested Module Security: System Access, Current Local Security: Allow System Access&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;SPAN style="text-decoration: underline;"&gt;&lt;STRONG&gt;Epilogue&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;I'll finish with the way i use it, you can see the qvw i attached, i do this for each document:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;A. qv-user-manager.exe --document=MyDoc.qvw --action=create --type=edx&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;then when i want to load i implemented in my code 3 loading types:&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0 - qvd Reload&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 - Regular Reload&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2 - Incremental Reload (Incremental Load loades only the missing RecordId's)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3 - Dynamic load (config file setting)&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;then when i want to load using only qvd i &lt;SPAN style="font-size: 13.3333px;"&gt;open cmd (shift + mouse right click then Open command window here) where i put all the exe of the &lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 12px; background-color: #fdfdfd;"&gt;QlikViewTaskManagement and run:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;B. qv-user-manager.exe --document=&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;MyDoc&lt;/SPAN&gt;.qvw --action=run --type=edx --variable=varAjaxReload --values=0&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;or i press a button in my qvw the runs this commend (:.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13.3333px;"&gt;good luck! &lt;BR /&gt;Yakir M&lt;SPAN style="color: #3d3d3d; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;anor &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2015 12:53:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-ExternalProgramTask-with-the-QMS-API/m-p/496298#M1267184</guid>
      <dc:creator>yakir_manor</dc:creator>
      <dc:date>2015-10-13T12:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Create ExternalProgramTask with the QMS API</title>
      <link>https://community.qlik.com/t5/QlikView/Create-ExternalProgramTask-with-the-QMS-API/m-p/496299#M1267187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great post Yakir, thank you very much, it really helped me!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Mar 2016 11:11:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-ExternalProgramTask-with-the-QMS-API/m-p/496299#M1267187</guid>
      <dc:creator />
      <dc:date>2016-03-11T11:11:30Z</dc:date>
    </item>
    <item>
      <title>Re: Create ExternalProgramTask with the QMS API</title>
      <link>https://community.qlik.com/t5/QlikView/Create-ExternalProgramTask-with-the-QMS-API/m-p/496300#M1267189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello-&lt;/P&gt;&lt;P&gt;very helpful!!&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;In our organization there some models are created automatically at night (by dot net program),&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;As we know the each model gets its category automatically in Qlikview Management Console &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;under default category: 'default'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;the problem is I like to categorize the model under another category&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;name that already exists: 'sales'&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;and not through the manual way:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d; background: white;"&gt;QVMC &amp;gt; Documents &amp;gt; (Select Document) &amp;gt; Document Information &amp;gt; Category&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10.0pt; font-family: 'Helvetica',sans-serif; color: #3d3d3d; background: white;"&gt;but I'm looking for a way&amp;nbsp; to do it by dot net code (C #).&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;I saw in the QMS API Documentation Help:&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;'Document MetaData.Document MetaData DocumentInfo.Category property'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt; &lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;•Do you know how to use the functions to change the document's category and save the change?&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Thanks a lot,&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="margin-bottom: .0001pt;"&gt;&lt;SPAN style="font-size: 10pt; font-family: Arial, sans-serif;"&gt;Abi.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Mar 2016 22:14:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Create-ExternalProgramTask-with-the-QMS-API/m-p/496300#M1267189</guid>
      <dc:creator>dambeldor</dc:creator>
      <dc:date>2016-03-26T22:14:06Z</dc:date>
    </item>
  </channel>
</rss>

