<?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>idea Re: Add a spinner or an option to show progress/feedback in the reload API methdod (ConfigureReload) in Suggest an Idea</title>
    <link>https://community.qlik.com/t5/Suggest-an-Idea/Add-a-spinner-or-an-option-to-show-progress-feedback-in-the/idc-p/1704825#M2262</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/59589"&gt;@piersbatchelor_vl&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for your idea. Going forward, please apply one, and only one, label to your ideas. We use the labels to route ideas to the appropriate product managers. The review process is slowed down when there are multiple labels on an idea. Please see the &lt;A href="https://community.qlik.com/t5/Qlik-Product-Insight-Blog/Submitting-an-Idea/ba-p/1684014" target="_self"&gt;submission guidelines&lt;/A&gt; for more information on the labels.&lt;/P&gt;</description>
    <pubDate>Mon, 25 May 2020 05:38:28 GMT</pubDate>
    <dc:creator>John_Teichman</dc:creator>
    <dc:date>2020-05-25T05:38:28Z</dc:date>
    <item>
      <title>Re: Add a spinner or an option to show progress/feedback in the reload API methdod (ConfigureReload)</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Add-a-spinner-or-an-option-to-show-progress-feedback-in-the/idc-p/1704825#M2262</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/59589"&gt;@piersbatchelor_vl&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Thanks for your idea. Going forward, please apply one, and only one, label to your ideas. We use the labels to route ideas to the appropriate product managers. The review process is slowed down when there are multiple labels on an idea. Please see the &lt;A href="https://community.qlik.com/t5/Qlik-Product-Insight-Blog/Submitting-an-Idea/ba-p/1684014" target="_self"&gt;submission guidelines&lt;/A&gt; for more information on the labels.&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 05:38:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Add-a-spinner-or-an-option-to-show-progress-feedback-in-the/idc-p/1704825#M2262</guid>
      <dc:creator>John_Teichman</dc:creator>
      <dc:date>2020-05-25T05:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: Add a spinner or an option to show progress/feedback in the reload API methdod (ConfigureReload) - Status changed to: Closed - Already Available</title>
      <link>https://community.qlik.com/t5/Suggest-an-Idea/Add-a-spinner-or-an-option-to-show-progress-feedback-in-the/idc-p/1722681#M2647</link>
      <description>&lt;P&gt;HI&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/59589"&gt;@piersbatchelor_vl&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;you should be able to assess reload status using this api endpoint in qrs:&amp;nbsp;&lt;A href="https://help.qlik.com/en-US/sense-developer/June2020/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Task-Start-Task.htm" target="_blank"&gt;https://help.qlik.com/en-US/sense-developer/June2020/Subsystems/RepositoryServiceAPI/Content/Sense_RepositoryServiceAPI/RepositoryServiceAPI-Task-Start-Task.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I wrote some old code a while back that runs until the reload is complete:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;function progressCheck(id, callback) {
    //console.log(reload);
    var path = "/executionsession";
    path += "?filter=id eq " + id;
    logger.debug('progressCheck::PATH::' + path, { module: 'reloadmetrics' });
    return qrsInteract.Get(path)
        .then(function(reloadProgress) {
            if (reloadProgress.body === undefined || reloadProgress.body.length == 0) {
                logger.info('reloadMetrics::progressCheck::Task Complete', { module: 'reloadmetrics' });
                return callback(null, 'Reload Complete');
            } else {
                var reloadStep = reloadProgress.body[0].executionResult.details.length;
                logger.debug('reloadMetrics::progressCheck::' + reloadProgress.body[0].executionResult.details[reloadStep - 1].message, { module: 'reloadmetrics' });
                return progressCheck(id, callback);
            }
        })
        .catch(function(error) {
            logger.error('reloadMetrics::progressCheck::' + error, { module: 'reloadmetrics' });
            return callback(error);
        });
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you want to show a message you just have it display while the reload is not complete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jeff G&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2020 17:33:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Suggest-an-Idea/Add-a-spinner-or-an-option-to-show-progress-feedback-in-the/idc-p/1722681#M2647</guid>
      <dc:creator>Jeffrey_Goldberg</dc:creator>
      <dc:date>2020-06-26T17:33:05Z</dc:date>
    </item>
  </channel>
</rss>

