Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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>
</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