Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
NZFei
Partner - Specialist
Partner - Specialist

Reload Widget doesn't work in Sense 3.2

Hi,

I am creating a Reload button in Sense 3.2 widget.

If I only do reload like below it is working:

<p>

<b>{{settings.TextAboveButton}}</b>

<br>

  <lui-button ng-click="app.doReload()">{{settings.TextInButton}}</lui-button>

<br>

</p>

However the reloaded data is not saved. The data will change back to the old in several seconds.

I want to reload and save the data so I copied the script from the Qlik help page at doSave method ‒ Qlik Sense

and change the widget script to:

<p>
<b>{{settings.TextAboveButton}}</b>
<br>
  <lui-button ng-click="
   app.doReload().then(function(){
    app.doSave();
   })
  ">{{settings.TextInButton}}</lui-button>
<br>
</p>

It doesn't even reload the data. Does anyone know how to make the script work for reload and save?

Thank you very much!

Fei

0 Replies