<?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: QlikView 10 - Trigger tasks via .bat file, command line, or PowerShell in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QlikView-10-Trigger-tasks-via-bat-file-command-line-or/m-p/611460#M681131</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am interested in the exact same type of scenario.&amp;nbsp; Maybe a bump will help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Aug 2015 16:49:26 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-08-24T16:49:26Z</dc:date>
    <item>
      <title>QlikView 10 - Trigger tasks via .bat file, command line, or PowerShell</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-10-Trigger-tasks-via-bat-file-command-line-or/m-p/611459#M681128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;My company uses a job scheduler called &lt;A href="http://www.jamsscheduler.com/"&gt;JAMS&lt;/A&gt; and we've have been trying to basically replace our Publisher (QEMC) tasks with JAMS jobs.&amp;nbsp; We use JAMS to execute PowerShell script - passing parameters to the script containing the path and filename of the QVW file and the command line arguments (usually just /r to Reload, Save, and Close, and sometimes /v if we need to pass a variable).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've been successful with simple QVWs that are just QVD file builders, since they do not need to be distributed to the AccessPoint.&amp;nbsp; However, we have not been successful with "published" apps that need to be distributed to the AccessPoint, put in a particular category on the AccessPoint and have proper security applied so that only certain named users or members of certain Active Directory groups can see them on the AccessPoint.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We've been using JAMS to reload the QVWs and then using a Publisher (QEMC) task to rename the document, distribute to the AccessPoint, categorize, handle security, etc.&amp;nbsp; So we used to have a lot of "Reload and Distribute" Publisher tasks.&amp;nbsp; Now we have reload jobs scheduled in JAMS and Distribute tasks scheduled in Publisher.&amp;nbsp; This is not a great setup, particularly because Publisher doesn't "know" when a JAMS reload job has completed.&amp;nbsp; It's not bad for our apps that just need to be refreshed once per day.&amp;nbsp; For example, we can schedule the reload via JAMS at 5 AM and the Distribute task via Publisher at 5:15 AM (if we know that the reload always takes less than 15 minutes).&amp;nbsp; It becomes problematic for QVW files that need to be closer to real-time.&amp;nbsp; In those cases, we may have a chain of events in JAMS to incrementally reload new data, update QVD files and then reload the QVW.&amp;nbsp; But we don't always have a predictable duration for these processes, so we wind up just scheduling Publisher to distribute the QVW every 10 minutes or whatever.&amp;nbsp; &lt;STRONG&gt;Is there a way to trigger an existing QV10 Publisher (QEMC) task from a command line,&amp;nbsp; .bat file or PowerShell&lt;/STRONG&gt; so that the documents only get distributed when we know the reload has completed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The above would be a great next step, but ultimately we would like to be able to eliminate Publisher tasks altogether.&amp;nbsp; Does anyone know if you can use Powershell to do everything I've described?&amp;nbsp; We have reloads figured out and I'm sure Powershell can basically perform a Save-As to rename the document and save it to our AP Distribution folder (which would get it to the AccessPoint).&amp;nbsp; However, that puts the QVD document in a &lt;EM&gt;&amp;lt;Default&amp;gt;&lt;/EM&gt; category and allows all users to see it.&amp;nbsp; If anyone has used PowerShell to put QVWs in a particular AccessPoint category and apply security, I would greatly appreciate some help (examples, sample code, etc.).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Apr 2014 22:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-10-Trigger-tasks-via-bat-file-command-line-or/m-p/611459#M681128</guid>
      <dc:creator />
      <dc:date>2014-04-07T22:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView 10 - Trigger tasks via .bat file, command line, or PowerShell</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-10-Trigger-tasks-via-bat-file-command-line-or/m-p/611460#M681131</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am interested in the exact same type of scenario.&amp;nbsp; Maybe a bump will help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Aug 2015 16:49:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-10-Trigger-tasks-via-bat-file-command-line-or/m-p/611460#M681131</guid>
      <dc:creator />
      <dc:date>2015-08-24T16:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView 10 - Trigger tasks via .bat file, command line, or PowerShell</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-10-Trigger-tasks-via-bat-file-command-line-or/m-p/611461#M681132</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;External triggering from tasks is possible with EDX: &lt;A href="https://community.qlik.com/t5/forums/searchpage/tab/message?q=edx&amp;amp;type=document"&gt;https://community.qlik.com/search.jspa?q=edx&amp;amp;type=document&lt;/A&gt; but I'm not sure if such above mentioned mixed-up task-trigger-scenario has an overall advantage.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 10:32:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-10-Trigger-tasks-via-bat-file-command-line-or/m-p/611461#M681132</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-08-25T10:32:14Z</dc:date>
    </item>
    <item>
      <title>Re: QlikView 10 - Trigger tasks via .bat file, command line, or PowerShell</title>
      <link>https://community.qlik.com/t5/QlikView/QlikView-10-Trigger-tasks-via-bat-file-command-line-or/m-p/611462#M681134</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;Here is the VB Script file which you can use to run the task from command line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/15988"&gt;Trigger EDX Qlikview 10&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Kaushik Solanki&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Aug 2015 10:54:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QlikView-10-Trigger-tasks-via-bat-file-command-line-or/m-p/611462#M681134</guid>
      <dc:creator>kaushiknsolanki</dc:creator>
      <dc:date>2015-08-25T10:54:10Z</dc:date>
    </item>
  </channel>
</rss>

