<?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: QMS API - GetUserDocuments does not return the document after initial Reload/Create in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QMS-API-GetUserDocuments-does-not-return-the-document-after/m-p/567991#M211798</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I opened a support ticket and it seems that it is a known issue.&lt;/P&gt;&lt;P&gt;The solution for this is to use&lt;/P&gt;&lt;P&gt;_qvClientWS.ClearQVSCache(QVSCacheObjects.UserDocumentList);&lt;/P&gt;&lt;P&gt;To reload the cache.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Mar 2014 20:54:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2014-03-04T20:54:54Z</dc:date>
    <item>
      <title>QMS API - GetUserDocuments does not return the document after initial Reload/Create</title>
      <link>https://community.qlik.com/t5/QlikView/QMS-API-GetUserDocuments-does-not-return-the-document-after/m-p/567990#M211797</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the QlikView Distribution service to reload a document (from a source document).&lt;/P&gt;&lt;P&gt;On the first reload invoked using the API, the document is reloaded and appears on the disk however&lt;/P&gt;&lt;P&gt;_qvClientWS.GetUserDocuments()&lt;/P&gt;&lt;P&gt;does not return the document, &lt;SPAN style="color: #575757; text-decoration: underline;"&gt;unless&lt;/SPAN&gt; I explicitly use the QMC console in the browser and I press F5 or CTRL+F5 to reload the documents. &lt;/P&gt;&lt;P&gt;Once I see it &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;listed&lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt; in the browser , and call again&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;_qvClientWS.GetUserDocuments()&lt;/P&gt;&lt;P&gt;the document appears in the returned list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is like the QMC browser refresh is using a different API that populates correctly the list of user documents available.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the question is, how can I make GetUserDocuments return the good list (with my just created/reloaded user document in it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use thread sleep and wait forever for a magic refresh to happen, but it never worked.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jan 2014 00:44:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMS-API-GetUserDocuments-does-not-return-the-document-after/m-p/567990#M211797</guid>
      <dc:creator />
      <dc:date>2014-01-25T00:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: QMS API - GetUserDocuments does not return the document after initial Reload/Create</title>
      <link>https://community.qlik.com/t5/QlikView/QMS-API-GetUserDocuments-does-not-return-the-document-after/m-p/567991#M211798</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I opened a support ticket and it seems that it is a known issue.&lt;/P&gt;&lt;P&gt;The solution for this is to use&lt;/P&gt;&lt;P&gt;_qvClientWS.ClearQVSCache(QVSCacheObjects.UserDocumentList);&lt;/P&gt;&lt;P&gt;To reload the cache.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Mar 2014 20:54:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QMS-API-GetUserDocuments-does-not-return-the-document-after/m-p/567991#M211798</guid>
      <dc:creator />
      <dc:date>2014-03-04T20:54:54Z</dc:date>
    </item>
  </channel>
</rss>

