Qlik Community

Qlik Sense App Development

Discussion board where members can learn more about Qlik Sense App Development and Usage.

Announcements
BARC’s The BI Survey 19 makes it official. BI users love Qlik. GET REPORT
rachel_delany
Contributor

App reload widget

I'm trying to develop a simple widget for users to be able to reload an app through clicking a button.

The widget is really simple, just using the app.doReload() method.

It works when the app is not published however when the app is published, it appears to work (the data reloads) however once you refresh the page the new data is no longer there.

It appears the app isn't saving after reload, if I add a separate button which invokes the app.doSave() method, it all seems to work. Does anyone know how I can put this all into one button?

 

4 Replies
avinashjpm
New Contributor II

Re: App reload widget

Hi Rachel,

Have you found the solution for this? 

We are facing the same problem.

durgesh22
New Contributor III

Re: App reload widget

<lui-button ng-click="app.doReload();app.doSave()">Reload app</lui-button>

 

Use above it should work.

rachel_delany
Contributor

Re: App reload widget

No, I had already tried that but the save does not work on a published app.

rachel_delany
Contributor

Re: App reload widget

No, haven't found a solution.

Current thinking is we need to make an extension that will trigger the reload task for the app.