<?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: single control model containing buttons to reload other models in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/single-control-model-containing-buttons-to-reload-other-models/m-p/2534763#M108440</link>
    <description>&lt;P&gt;I'm Using&amp;nbsp;Qlik Sense Enterprise (on-prem / SaaS)&amp;nbsp;&lt;BR /&gt;so for this I need to add REST Connection&amp;nbsp;&amp;nbsp;"/ qrs / app / {appId} /reload" with this API then what action i need toa dd on button&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please guide&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank You&lt;/P&gt;</description>
    <pubDate>Thu, 30 Oct 2025 06:26:10 GMT</pubDate>
    <dc:creator>Dipti123</dc:creator>
    <dc:date>2025-10-30T06:26:10Z</dc:date>
    <item>
      <title>single control model containing buttons to reload other models</title>
      <link>https://community.qlik.com/t5/App-Development/single-control-model-containing-buttons-to-reload-other-models/m-p/2534671#M108416</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;P&gt;They expected that reloading the main model would automatically include the filters, without needing two separate uploads.&lt;BR /&gt;Their idea was to have a &lt;STRONG&gt;single control model&lt;/STRONG&gt; containing &lt;STRONG&gt;buttons&lt;/STRONG&gt; to reload other models (e.g., ReportBuilder, Ordinato, Fatturato), so that a user in Krino can reload any model manually when needed — without using triggers or automation.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Now, I’m trying to understand the &lt;STRONG&gt;best and most practical way&lt;/STRONG&gt; to implement this in Qlik Sense —&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":right_arrow:"&gt;➡️&lt;/span&gt; Is it possible to trigger the reload of other apps using buttons inside a Qlik Sense app (via REST API or another method)?&lt;BR /&gt;&lt;span class="lia-unicode-emoji" title=":right_arrow:"&gt;➡️&lt;/span&gt; Or is there a simpler alternative that fits this requirement better?&lt;/P&gt;&lt;P&gt;Any suggestions or best practices would be really helpful.&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 09:10:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/single-control-model-containing-buttons-to-reload-other-models/m-p/2534671#M108416</guid>
      <dc:creator>Dipti123</dc:creator>
      <dc:date>2025-10-29T09:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: single control model containing buttons to reload other models</title>
      <link>https://community.qlik.com/t5/App-Development/single-control-model-containing-buttons-to-reload-other-models/m-p/2534735#M108434</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Qlik Cloud:&lt;/STRONG&gt;&lt;BR /&gt;Use &lt;STRONG&gt;Qlik Application Automation&lt;/STRONG&gt; — create an automation that reloads the target app and trigger it via a &lt;STRONG&gt;webhook URL&lt;/STRONG&gt; linked to a button inside your Qlik app.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Qlik Sense Enterprise (on-prem / SaaS):&lt;/STRONG&gt;&lt;BR /&gt;Use the &lt;STRONG&gt;QRS REST API&lt;/STRONG&gt; — call the "/ qrs / app / {appId} /reload" endpoint from a &lt;STRONG&gt;REST connection or custom extension&lt;/STRONG&gt; to trigger another app’s reload.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Oct 2025 18:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/single-control-model-containing-buttons-to-reload-other-models/m-p/2534735#M108434</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2025-10-29T18:42:21Z</dc:date>
    </item>
    <item>
      <title>Re: single control model containing buttons to reload other models</title>
      <link>https://community.qlik.com/t5/App-Development/single-control-model-containing-buttons-to-reload-other-models/m-p/2534763#M108440</link>
      <description>&lt;P&gt;I'm Using&amp;nbsp;Qlik Sense Enterprise (on-prem / SaaS)&amp;nbsp;&lt;BR /&gt;so for this I need to add REST Connection&amp;nbsp;&amp;nbsp;"/ qrs / app / {appId} /reload" with this API then what action i need toa dd on button&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Please guide&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thank You&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 06:26:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/single-control-model-containing-buttons-to-reload-other-models/m-p/2534763#M108440</guid>
      <dc:creator>Dipti123</dc:creator>
      <dc:date>2025-10-30T06:26:10Z</dc:date>
    </item>
    <item>
      <title>Re: single control model containing buttons to reload other models</title>
      <link>https://community.qlik.com/t5/App-Development/single-control-model-containing-buttons-to-reload-other-models/m-p/2534784#M108445</link>
      <description>&lt;P&gt;hello&amp;nbsp;&lt;BR /&gt;Please guide&amp;nbsp;&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/422"&gt;@HirisH_V7&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 08:50:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/single-control-model-containing-buttons-to-reload-other-models/m-p/2534784#M108445</guid>
      <dc:creator>Dipti123</dc:creator>
      <dc:date>2025-10-30T08:50:43Z</dc:date>
    </item>
    <item>
      <title>Re: single control model containing buttons to reload other models</title>
      <link>https://community.qlik.com/t5/App-Development/single-control-model-containing-buttons-to-reload-other-models/m-p/2534789#M108446</link>
      <description>&lt;P&gt;add a &lt;STRONG&gt;button&lt;/STRONG&gt; and use an &lt;STRONG&gt;"Open URL" action&lt;/STRONG&gt; that points to this webhook.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Example&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;"https://&amp;lt;region&amp;gt;.qlikcloud.com/api/v1/automations/&amp;lt;automation-id&amp;gt;/run"&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;This way, pressing the button in App A calls the webhook → triggers reload of App B.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Oct 2025 09:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/single-control-model-containing-buttons-to-reload-other-models/m-p/2534789#M108446</guid>
      <dc:creator>HirisH_V7</dc:creator>
      <dc:date>2025-10-30T09:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: single control model containing buttons to reload other models</title>
      <link>https://community.qlik.com/t5/App-Development/single-control-model-containing-buttons-to-reload-other-models/m-p/2534995#M108485</link>
      <description>&lt;P&gt;Im working with Qlik sense enterprise on button qlik i can reload the app with custom extenin but it wokrs fro Admin only not for anlayzer user or user other than ADMin&amp;nbsp;&lt;BR /&gt;How to proceed with this&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;define(['jquery'], function ($) {&lt;BR /&gt;'use strict';&lt;/P&gt;&lt;P&gt;// &lt;span class="lia-unicode-emoji" title=":small_blue_diamond:"&gt;🔹&lt;/span&gt; Qlik Sense server URL (replace with your own)&lt;BR /&gt;const serverUrl = "&lt;A href="https://your-qlik-server" target="_blank" rel="noopener"&gt;https://your-qlik-server&lt;/A&gt;";&lt;/P&gt;&lt;P&gt;// &lt;span class="lia-unicode-emoji" title=":small_blue_diamond:"&gt;🔹&lt;/span&gt; App names and IDs (replace * with actual IDs)&lt;BR /&gt;const apps = {&lt;BR /&gt;"Reload ReportBuilder": "********-****-****-****-************",&lt;BR /&gt;"Reload Ordinato": "********-****-****-****-************",&lt;BR /&gt;"Reload Fatturato": "********-****-****-****-************",&lt;BR /&gt;"Reload Acquisti": "********-****-****-****-************"&lt;BR /&gt;};&lt;/P&gt;&lt;P&gt;// &lt;span class="lia-unicode-emoji" title=":small_orange_diamond:"&gt;🔸&lt;/span&gt; Generate random XRF key&lt;BR /&gt;function genXrfKey() {&lt;BR /&gt;const chars = '';&lt;BR /&gt;let k = '';&lt;BR /&gt;for (let i = 0; i &amp;lt; 16; i++) {&lt;BR /&gt;k += chars[Math.floor(Math.random() * chars.length)];&lt;BR /&gt;}&lt;BR /&gt;return k;&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;// &lt;span class="lia-unicode-emoji" title=":small_blue_diamond:"&gt;🔹&lt;/span&gt; Trigger a reload task&lt;BR /&gt;function triggerReload(appLabel, $btn) {&lt;BR /&gt;const appId = apps[appLabel];&lt;BR /&gt;const xrfkey = genXrfKey();&lt;BR /&gt;const url = `${serverUrl}/qrs/app/${appId}/reload?xrfkey=${xrfkey}`;&lt;/P&gt;&lt;P&gt;const originalText = $btn.text();&lt;BR /&gt;$btn.prop('disabled', true).text('Ricarico in corso...');&lt;/P&gt;&lt;P&gt;$.ajax({&lt;BR /&gt;url: url,&lt;BR /&gt;type: 'POST',&lt;BR /&gt;headers: {&lt;BR /&gt;'X-Qlik-Xrfkey': xrfkey,&lt;BR /&gt;'Content-Type': 'application/json',&lt;BR /&gt;'Accept': 'application/json'&lt;BR /&gt;},&lt;BR /&gt;xhrFields: { withCredentials: true },&lt;BR /&gt;success: function () {&lt;BR /&gt;alert(`&lt;span class="lia-unicode-emoji" title=":gear:"&gt;⚙️&lt;/span&gt; ${appLabel} — il ricarico è stato avviato correttamente.`);&lt;BR /&gt;checkReloadStatus(appId, xrfkey, appLabel);&lt;BR /&gt;},&lt;BR /&gt;error: function (xhr) {&lt;BR /&gt;alert(`&lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; Impossibile avviare il ricarico: ${xhr.status} ${xhr.statusText}`);&lt;BR /&gt;console.error(xhr.responseText);&lt;BR /&gt;},&lt;BR /&gt;complete: function () {&lt;BR /&gt;$btn.prop('disabled', false).text(originalText);&lt;BR /&gt;}&lt;BR /&gt;});&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;// &lt;span class="lia-unicode-emoji" title=":small_blue_diamond:"&gt;🔹&lt;/span&gt; Check reload status every 5 seconds&lt;BR /&gt;function checkReloadStatus(appId, xrfkey, appLabel) {&lt;BR /&gt;const taskUrl = `${serverUrl}/qrs/reloadtask?filter=app.id eq ${appId}&amp;amp;xrfkey=${xrfkey}`;&lt;/P&gt;&lt;P&gt;const interval = setInterval(() =&amp;gt; {&lt;BR /&gt;$.ajax({&lt;BR /&gt;url: taskUrl,&lt;BR /&gt;type: 'GET',&lt;BR /&gt;headers: {&lt;BR /&gt;'X-Qlik-Xrfkey': xrfkey,&lt;BR /&gt;'Accept': 'application/json'&lt;BR /&gt;},&lt;BR /&gt;xhrFields: { withCredentials: true },&lt;BR /&gt;success: function (tasks) {&lt;BR /&gt;if (tasks &amp;amp;&amp;amp; tasks.length &amp;gt; 0) {&lt;BR /&gt;const task = tasks[0];&lt;BR /&gt;const result = task.operational.lastExecutionResult;&lt;/P&gt;&lt;P&gt;if (result &amp;amp;&amp;amp; result.status === 7) { // &lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; Success&lt;BR /&gt;clearInterval(interval);&lt;BR /&gt;alert(`&lt;span class="lia-unicode-emoji" title=":white_heavy_check_mark:"&gt;✅&lt;/span&gt; ${appLabel} — Ricarico terminato con successo.`);&lt;BR /&gt;} else if (result &amp;amp;&amp;amp; result.status === &lt;span class="lia-unicode-emoji" title=":smiling_face_with_sunglasses:"&gt;😎&lt;/span&gt; { // &lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; Failed&lt;BR /&gt;clearInterval(interval);&lt;BR /&gt;alert(`&lt;span class="lia-unicode-emoji" title=":cross_mark:"&gt;❌&lt;/span&gt; ${appLabel} — Il ricarico non è riuscito. Controllare i log nel QMC.`);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;},&lt;BR /&gt;error: function (err) {&lt;BR /&gt;console.error('Errore nel controllo dello stato del ricarico:', err);&lt;BR /&gt;clearInterval(interval);&lt;BR /&gt;}&lt;BR /&gt;});&lt;BR /&gt;}, 5000);&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;// &lt;span class="lia-unicode-emoji" title=":small_blue_diamond:"&gt;🔹&lt;/span&gt; Paint buttons&lt;BR /&gt;return {&lt;BR /&gt;paint: function ($element) {&lt;BR /&gt;$element.empty();&lt;BR /&gt;const $container = $('&amp;lt;div class="reload-grid"&amp;gt;&amp;lt;/div&amp;gt;');&lt;/P&gt;&lt;P&gt;Object.keys(apps).forEach(function (label) {&lt;BR /&gt;const $b = $('&amp;lt;button class="reload-btn"&amp;gt;&amp;lt;/button&amp;gt;')&lt;BR /&gt;.text(label)&lt;BR /&gt;.css({&lt;BR /&gt;margin: '30px',&lt;BR /&gt;padding: '6px 12px',&lt;BR /&gt;border: '1px solid rgb(204, 204, 204)',&lt;BR /&gt;'border-radius': '4px',&lt;BR /&gt;cursor: 'pointer',&lt;BR /&gt;'background-color': 'rgb(31, 133, 179)',&lt;BR /&gt;color: 'white',&lt;BR /&gt;'font-weight': '500'&lt;BR /&gt;})&lt;BR /&gt;.on('mouseenter', function () {&lt;BR /&gt;$(this).css('background-color', 'rgb(23, 110, 150)');&lt;BR /&gt;})&lt;BR /&gt;.on('mouseleave', function () {&lt;BR /&gt;$(this).css('background-color', 'rgb(31, 133, 179)');&lt;BR /&gt;})&lt;BR /&gt;.on('click', function () {&lt;BR /&gt;triggerReload(label, $b);&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;$container.append($b);&lt;BR /&gt;});&lt;/P&gt;&lt;P&gt;$element.append($container);&lt;BR /&gt;}&lt;BR /&gt;};&lt;BR /&gt;});&lt;BR /&gt;&lt;BR /&gt;can you please hlep me how QRS APi or Reload APp works for other users than admin ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 02 Nov 2025 15:39:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/single-control-model-containing-buttons-to-reload-other-models/m-p/2534995#M108485</guid>
      <dc:creator>Dipti123</dc:creator>
      <dc:date>2025-11-02T15:39:25Z</dc:date>
    </item>
  </channel>
</rss>

