<?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: how to reload document using QMS API in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/how-to-reload-document-using-QMS-API/m-p/333299#M1275846</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;&amp;nbsp; For your qdsid do you test the &lt;CODE class="jive-code"&gt;QDSID=3a12e466-2c80-5a0b-5486-8296623af820&lt;/CODE&gt; ; line before the TaskID in the log reported?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Other&amp;nbsp; way to get QDSID for Relaod Engine : XMLDBViewver from Qv Power tools (in Community) search for DistributionService field QDSID .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp; May be that not all api returns results as expected, since you don't have Publisher Enterprise ( licensed) .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Mar 2013 09:15:39 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-03-08T09:15:39Z</dc:date>
    <item>
      <title>how to reload document using QMS API</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-reload-document-using-QMS-API/m-p/333297#M1275841</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;We would like to reload a .qvw using the QMS API&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This code explained here: &lt;A _jive_internal="true" class="loading" href="https://community.qlik.com/thread/47997" title="http://community.qlik.com/thread/47997" target="_blank"&gt;http://community.qlik.com/thread/47997&lt;/A&gt; does not work for us since I guess because we don't have the publisher license so we cannot pass the QDS ID&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, the following code works and reloads the document!&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13413978887481883" jivemacro_uid="_13413978887481883"&gt;&lt;P&gt;&lt;SPAN style="color: green;"&gt;// Initiate backend client&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: blue;"&gt;var&lt;/SPAN&gt; backendClient = &lt;SPAN style="color: blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="color: #2b91af;"&gt;QMSClient&lt;/SPAN&gt;();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: green;"&gt;// Get a time limited service key&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #2b91af;"&gt;ServiceKeyClientMessageInspector&lt;/SPAN&gt;.ServiceKey = backendClient.GetTimeLimitedServiceKey();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// refresh document with task id = 7fb52271-6625-48d8-ba2f-a17127c4b5b0&lt;/P&gt;&lt;P&gt;backendClient.RunTask(new Guid("7fb52271-6625-48d8-ba2f-a17127c4b5b0"));&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To do this I manually copy pasted the Task ID output from the Task Log, from the QlikView management Console, e.g.&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13413978887475065" jivemacro_uid="_13413978887475065"&gt;&lt;P style="font-size: 11px; margin: 0 0 6px; color: #000000; font-family: monospace; background-color: #ffffff;"&gt;(2012-07-04 12:20:30) Information: Starting task 'xx.qvw'. Id:61d6b167-01f7-4c3c-aaae-8a557a0fb7c5. Triggered by 'ScheduleTrigger'. Id:3518c856-f2ae-4ff7-8424-41819db8f835&lt;/P&gt;&lt;P style="font-size: 11px; margin: 0 0 6px; color: #000000; font-family: monospace; background-color: #ffffff;"&gt;(2012-07-04 12:20:30) Information: Entering Task Execution. &lt;/P&gt;&lt;P style="font-size: 11px; margin: 0 0 6px; color: #000000; font-family: monospace; background-color: #ffffff;"&gt;(2012-07-04 12:20:30) Information: ClusterID=1&lt;/P&gt;&lt;P style="font-size: 11px; margin: 0 0 6px; color: #000000; font-family: monospace; background-color: #ffffff;"&gt;(2012-07-04 12:20:30) Information: QDSID=3a12e466-2c80-5a0b-5486-8296623af820&lt;/P&gt;&lt;P style="font-size: 11px; margin: 0 0 6px; color: #000000; font-family: monospace; background-color: #ffffff;"&gt;(2012-07-04 12:20:30) Information: &lt;SPAN style="color: #ff0000;"&gt;TaskID=&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; background-color: #ffffff;"&gt;7fb52271-6625-48d8-ba2f-a17127c4b5b0&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 11px; margin: 0 0 6px; color: #000000; font-family: monospace; background-color: #ffffff;"&gt;(2012-07-04 12:20:30) Information: MaxRunTime=06:00:00&lt;/P&gt;&lt;P style="font-size: 11px; margin: 0 0 6px; color: #000000; font-family: monospace; background-color: #ffffff;"&gt;(2012-07-04 12:20:30) Information: Max attempts:1&lt;/P&gt;&lt;P style="font-size: 11px; margin: 0 0 6px; color: #000000; font-family: monospace; background-color: #ffffff;"&gt;(2012-07-04 12:20:30) Information: Current Attempt=0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to get the task ID by document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note I tried many times with some methods of the QMSClient with no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;E,g, this does not work for me, it returns an empty list, even if the document has one reload schedule:&lt;/P&gt;&lt;PRE __default_attr="java" __jive_macro_name="code" class="jive_text_macro jive_macro_code _jivemacro_uid_13413978887467180" jivemacro_uid="_13413978887467180"&gt;&lt;P&gt;backendClient.GetTasksForDocument(docNode.ID)&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&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/how-to-reload-document-using-QMS-API/m-p/333297#M1275841</guid>
      <dc:creator />
      <dc:date>2026-01-26T18:19:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to reload document using QMS API</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-reload-document-using-QMS-API/m-p/333298#M1275844</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found that I can reload documents using an EDX Task&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The downside is that I have to change my schedules to triggered by an external event&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jul 2012 14:21:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-reload-document-using-QMS-API/m-p/333298#M1275844</guid>
      <dc:creator />
      <dc:date>2012-07-04T14:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to reload document using QMS API</title>
      <link>https://community.qlik.com/t5/QlikView/how-to-reload-document-using-QMS-API/m-p/333299#M1275846</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;&amp;nbsp; For your qdsid do you test the &lt;CODE class="jive-code"&gt;QDSID=3a12e466-2c80-5a0b-5486-8296623af820&lt;/CODE&gt; ; line before the TaskID in the log reported?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Other&amp;nbsp; way to get QDSID for Relaod Engine : XMLDBViewver from Qv Power tools (in Community) search for DistributionService field QDSID .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp; May be that not all api returns results as expected, since you don't have Publisher Enterprise ( licensed) .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Mar 2013 09:15:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/how-to-reload-document-using-QMS-API/m-p/333299#M1275846</guid>
      <dc:creator />
      <dc:date>2013-03-08T09:15:39Z</dc:date>
    </item>
  </channel>
</rss>

