0 Replies Latest reply: Apr 18, 2017 7:44 PM by Fei Xu RSS

    Reload Widget doesn't work in Sense 3.2

    Fei Xu

      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