<?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: LogFile Path Location if Reloading using QlikSense API in Integration, Extension &amp; APIs</title>
    <link>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1690653#M12575</link>
    <description>&lt;P&gt;Hi Levi,&lt;/P&gt;&lt;P&gt;In using this API, do we need 'body' json in PostMan?&lt;/P&gt;&lt;P&gt;Because my response was blank&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
    <pubDate>Fri, 03 Apr 2020 08:48:09 GMT</pubDate>
    <dc:creator>ryanocni</dc:creator>
    <dc:date>2020-04-03T08:48:09Z</dc:date>
    <item>
      <title>LogFile Path Location if Reloading using QlikSense API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1687250#M12536</link>
      <description>&lt;P&gt;Hello Master,&lt;/P&gt;&lt;P&gt;Anyone know where is log file located when I reload the data using QlikSense API ?&lt;BR /&gt;When I searched from Apps ID in program data\qlik and program files\qlik, I didn't find the log file&lt;BR /&gt;But, I can download the log in QMC. Where is come from?&lt;BR /&gt;Or it's not be stored if reload using API?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:53:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1687250#M12536</guid>
      <dc:creator>ryanocni</dc:creator>
      <dc:date>2024-11-16T02:53:58Z</dc:date>
    </item>
    <item>
      <title>Re: LogFile Path Location if Reloading using QlikSense API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1687643#M12541</link>
      <description>&lt;P&gt;I am not sure what API you're referring to. From a high level you have two ways of reloading an app:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Reloads in the Hub&lt;/LI&gt;&lt;LI&gt;Reloads in the QMC&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;(1) is functionally using the Engine API. This reload&amp;nbsp;&lt;EM&gt;does&lt;/EM&gt; generate a script log&amp;nbsp; but it is not presented to the Qlik Repository Service and thus there's no direct way of accessing this file outside of opening the file on the file system of the server(s) or similar method. See &lt;A href="https://support.qlik.com/articles/000041017" target="_self"&gt;this article&lt;/A&gt; for reference.&lt;/P&gt;&lt;P&gt;(2) involves a task. Tasks are artifacts of the Qlik Repository Service. This service does have an awareness of script logs in order to be able to surface them in the QMC.&lt;/P&gt;&lt;P&gt;I suspect you're interested in (1) and in which case, it will not be presented through Qlik and thus you'd need to access the file on the file system.&lt;/P&gt;</description>
      <pubDate>Wed, 25 Mar 2020 12:14:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1687643#M12541</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2020-03-25T12:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: LogFile Path Location if Reloading using QlikSense API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1687949#M12547</link>
      <description>&lt;P&gt;Thanks Levi,&lt;/P&gt;&lt;P&gt;I used App : Reload API like below :&lt;BR /&gt;qrs/app/0d522667-fd85-4f84-ae25-4784823ecfc7/reload?Xrfkey=iX83QmNlvu87yyAB&lt;/P&gt;&lt;P&gt;So, you mean I should try Task : Start API ?&lt;BR /&gt;/qrs/task/{id}/start/synchronous&lt;/P&gt;&lt;P&gt;How to find {id} of Task?&lt;BR /&gt;Because when I open the task, the generated code always changes&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 06:46:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1687949#M12547</guid>
      <dc:creator>ryanocni</dc:creator>
      <dc:date>2020-03-26T06:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: LogFile Path Location if Reloading using QlikSense API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1688352#M12554</link>
      <description>&lt;P&gt;OK, so by calling POST /qrs/app/{id}/reload then you're creating a reload task with the name of "Manually triggered reload of {AppName}" if one does not already exist then the task is started.&lt;/P&gt;&lt;P&gt;The flow for that would be like this:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;GET&amp;nbsp;&lt;SPAN&gt;/qrs/reloadtask/full?filter=(app.id&amp;nbsp;eq&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;53&lt;/SPAN&gt;&lt;SPAN&gt;c&lt;/SPAN&gt;&lt;SPAN&gt;667&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;8&lt;/SPAN&gt;&lt;SPAN&gt;-b&lt;/SPAN&gt;&lt;SPAN&gt;6&lt;/SPAN&gt;&lt;SPAN&gt;b&lt;/SPAN&gt;&lt;SPAN&gt;9-431e-991&lt;/SPAN&gt;&lt;SPAN&gt;e-fd&lt;/SPAN&gt;&lt;SPAN&gt;9&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;9&lt;/SPAN&gt;&lt;SPAN&gt;bf&lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;d&lt;/SPAN&gt;&lt;SPAN&gt;38&lt;/SPAN&gt;&lt;SPAN&gt;f&amp;nbsp;and&amp;nbsp;name&amp;nbsp;sw&amp;nbsp;'Manually&amp;nbsp;triggered&amp;nbsp;reload&amp;nbsp;of')&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;UL&gt;&lt;LI&gt;We're using a filter here where we're passing the App ID&amp;nbsp;&lt;STRONG&gt;and&lt;/STRONG&gt; ensuring that we only get the task whose name starts with&amp;nbsp;Manually triggered reload of&lt;/LI&gt;&lt;/UL&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Example&amp;nbsp;response:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;[
  {
    "id": "74083b5b-1f37-4075-b626-b4990610f6f6",
    "createdDate": "2020-02-24T16:05:19.601Z",
    "modifiedDate": "2020-02-24T16:05:19.601Z",
    "modifiedByUserName": "DOMAIN\\UserId",
    "customProperties": [],
    "app": {
      "id": "53c667f8-b6b9-431e-991e-fd9f9bf5d38f",
      "name": "Operations Monitor",
      "appId": "",
      "publishTime": "2020-03-20T12:28:06.445Z",
      "published": true,
      "stream": {
        "id": "a70ca8a5-1d59-4cc9-b5fa-6e207978dcaf",
        "name": "Monitoring apps",
        "privileges": null
      },
      "savedInProductVersion": "12.602.0",
      "migrationHash": "21ecc792c56e18162f1785d3d41f28fdaced5c96",
      "availabilityStatus": 0,
      "privileges": null
    },
    "isManuallyTriggered": true,
    "operational": {
      "id": "c02e073f-10ca-482b-93c3-61903a97d6ff",
      "lastExecutionResult": {
        "id": "413b7ad7-434e-4014-916d-466f3099142a",
        "executingNodeName": "myQlikSite.domain.tld",
        "status": 7,
        "startTime": "2020-02-24T16:05:20.391Z",
        "stopTime": "2020-02-24T16:07:42.638Z",
        "duration": 142247,
        "fileReferenceID": "c504bcf7-cb11-424f-8222-3b9492e8f285",
        "scriptLogAvailable": false,
        "details": [
          ...
        ],
      }
    },
    "name": "Manually triggered reload of Operations Monitor",
    "taskType": 0,
    "enabled": true,
    "taskSessionTimeout": 1440,
    "maxRetries": 0,
    "tags": [],
    "privileges": null,
    "schemaPath": "ReloadTask"
  }
]&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN&gt;Note&amp;nbsp;the&amp;nbsp;id&amp;nbsp;&amp;amp;&amp;nbsp;operational.lastExecutionResult.id&amp;nbsp;values&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;GET&amp;nbsp;/qrs/ReloadTask/&lt;/SPAN&gt;&lt;SPAN&gt;74083&lt;/SPAN&gt;&lt;SPAN&gt;b&lt;/SPAN&gt;&lt;SPAN&gt;5&lt;/SPAN&gt;&lt;SPAN&gt;b&lt;/SPAN&gt;&lt;SPAN&gt;-1&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;37-4075&lt;/SPAN&gt;&lt;SPAN&gt;-b&lt;/SPAN&gt;&lt;SPAN&gt;626&lt;/SPAN&gt;&lt;SPAN&gt;-b&lt;/SPAN&gt;&lt;SPAN&gt;4990610&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;6&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;6&lt;/SPAN&gt;&lt;SPAN&gt;/scriptlogfile?executionResultId=c&lt;/SPAN&gt;&lt;SPAN&gt;02e073&lt;/SPAN&gt;&lt;SPAN&gt;f&lt;/SPAN&gt;&lt;SPAN&gt;-10&lt;/SPAN&gt;&lt;SPAN&gt;ca&lt;/SPAN&gt;&lt;SPAN&gt;-482&lt;/SPAN&gt;&lt;SPAN&gt;b&lt;/SPAN&gt;&lt;SPAN&gt;-93&lt;/SPAN&gt;&lt;SPAN&gt;c&lt;/SPAN&gt;&lt;SPAN&gt;3-61903&lt;/SPAN&gt;&lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;97&lt;/SPAN&gt;&lt;SPAN&gt;d&lt;/SPAN&gt;&lt;SPAN&gt;6&lt;/SPAN&gt;&lt;SPAN&gt;ff&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;Example&amp;nbsp;Response:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;{
  "value": "e1bfd9a7-664d-4d90-b625-b0770e557efb"
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;&lt;SPAN&gt;GET&amp;nbsp;/qrs/download/reloadtask/e&lt;/SPAN&gt;&lt;SPAN&gt;1&lt;/SPAN&gt;&lt;SPAN&gt;bfd&lt;/SPAN&gt;&lt;SPAN&gt;9&lt;/SPAN&gt;&lt;SPAN&gt;a&lt;/SPAN&gt;&lt;SPAN&gt;7-664&lt;/SPAN&gt;&lt;SPAN&gt;d&lt;/SPAN&gt;&lt;SPAN&gt;-4&lt;/SPAN&gt;&lt;SPAN&gt;d&lt;/SPAN&gt;&lt;SPAN&gt;90&lt;/SPAN&gt;&lt;SPAN&gt;-b&lt;/SPAN&gt;&lt;SPAN&gt;625&lt;/SPAN&gt;&lt;SPAN&gt;-b&lt;/SPAN&gt;&lt;SPAN&gt;0770e557&lt;/SPAN&gt;&lt;SPAN&gt;efb/someArbitraryName.log&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Mar 2020 02:24:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1688352#M12554</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2020-03-27T02:24:24Z</dc:date>
    </item>
    <item>
      <title>Re: LogFile Path Location if Reloading using QlikSense API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1688890#M12560</link>
      <description>&lt;P&gt;Thanks a lot Levi&lt;/P&gt;</description>
      <pubDate>Mon, 30 Mar 2020 08:02:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1688890#M12560</guid>
      <dc:creator>ryanocni</dc:creator>
      <dc:date>2020-03-30T08:02:37Z</dc:date>
    </item>
    <item>
      <title>Re: LogFile Path Location if Reloading using QlikSense API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1690653#M12575</link>
      <description>&lt;P&gt;Hi Levi,&lt;/P&gt;&lt;P&gt;In using this API, do we need 'body' json in PostMan?&lt;/P&gt;&lt;P&gt;Because my response was blank&lt;/P&gt;&lt;P&gt;Thank you for your help&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 08:48:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1690653#M12575</guid>
      <dc:creator>ryanocni</dc:creator>
      <dc:date>2020-04-03T08:48:09Z</dc:date>
    </item>
    <item>
      <title>Re: LogFile Path Location if Reloading using QlikSense API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1690729#M12577</link>
      <description>&lt;P&gt;No, no body is required (or even permitted since this is a GET rather than a POST or PUT).&lt;/P&gt;</description>
      <pubDate>Fri, 03 Apr 2020 11:35:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1690729#M12577</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2020-04-03T11:35:08Z</dc:date>
    </item>
    <item>
      <title>Re: LogFile Path Location if Reloading using QlikSense API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1691181#M12588</link>
      <description>&lt;P&gt;Hi Levi,&lt;/P&gt;&lt;P&gt;How to know if data reload was success or failed?&lt;BR /&gt;Is there any idea to get data reload status immediately after it's finished?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Mon, 06 Apr 2020 10:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1691181#M12588</guid>
      <dc:creator>ryanocni</dc:creator>
      <dc:date>2020-04-06T10:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: LogFile Path Location if Reloading using QlikSense API</title>
      <link>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1691557#M12594</link>
      <description>&lt;P&gt;So there are two elements here:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Using the REST API, how can I tell if a task has succeeded or failed?&lt;/LI&gt;&lt;LI&gt;How can I get this data ASAP?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For (1), if you look at the GET of the ReloadTask, you'll see a operational.lastexecutionresult.status value. Like so:&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt; "operational": {
      "id": "c02e073f-10ca-482b-93c3-61903a97d6ff",
      "lastExecutionResult": {
        "id": "413b7ad7-434e-4014-916d-466f3099142a",
        "executingNodeName": "myQlikSite.domain.tld",
        "status": 7
...&lt;/LI-CODE&gt;&lt;P&gt;This status code maps to the enums for tasks (via GET /qrs/about/openapi/main):&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;    "TaskExecutionStatus": {
      "type": "integer",
      "enum": [
        0,
        1,
        2,
        3,
        4,
        5,
        6,
        7,
        8,
        9,
        10,
        11,
        12
      ],
      "x-enumNames": [
        "NeverStarted",
        "Triggered",
        "Started",
        "Queued",
        "AbortInitiated",
        "Aborting",
        "Aborted",
        "FinishedSuccess",
        "FinishedFail",
        "Skipped",
        "Retry",
        "Error",
        "Reset"
      ]
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As for how to get the data ASAP, when it comes to REST APIs you have two approaches:&lt;/P&gt;&lt;P&gt;a. Polling&lt;BR /&gt;b. pub/sub&lt;/P&gt;&lt;P&gt;For (a), just call the endpoints that you need frequently. This is easy to implement but you would want to be reasonable in your polling intervals, right? Every second is too much.&lt;/P&gt;&lt;P&gt;For (b), the Qlik Repository API has what are called Notifications. For more details on those see &lt;A href="https://community.qlik.com/t5/Qlik-Architecture-Deep-Dive-Blog/Qlik-Sense-Repository-Notification-API/ba-p/1582905" target="_self"&gt;this blog post&lt;/A&gt;. But in brief, you're telling the QRS to send you some data every time something fulfills the criteria. This capability is extremely powerful and real-time, but there is going to be more developmental effort for this task. You'd not only need the script / program to query the endpoint and map the status. But you'd also want some server listening for the JSON message in order to be triggered.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Apr 2020 12:42:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Integration-Extension-APIs/LogFile-Path-Location-if-Reloading-using-QlikSense-API/m-p/1691557#M12594</guid>
      <dc:creator>Levi_Turner</dc:creator>
      <dc:date>2020-04-07T12:42:40Z</dc:date>
    </item>
  </channel>
</rss>

