Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi
I'm trying to do a partial reload of an App on Qlik Cloud using a button action to trigger the reload.
The partial reload works fine but, whenI trigger the reload, the current selections are lost, no matter what field I've got selected.
However, if I trigger the partial reload from the Qlik Cloud console (creating a planned task with partial reload) everything works fine and selections are kept.
I only lose current selections when I trigger the partial reload from the App using a button action.
¿Any idea of why is thing behavior is occurring or any workaround?
Thanks in advance!
From what I’ve seen, a common workaround is saving selections using bookmarks or variables before triggering the reload and then restoring them afterward i hope it helps.
Thanks Goldy-chicken, I’m currently using variables to save current selections and restore them after reload, but it creates some sort of blinking effect because of the selections change.
What really makes me crazy is that planned reloads works perfectly fine and selections are not lost.
May be I could try to use automations to do the reload but then I would have to deal with limitations with the number of daily reloads in Qlik Cloud.
I believe I’m stuck…
Hi @PedroC ,
in-app reload of applications (either via a button or the data load editor) is meant for development purposes, and comes with limitations.
To circumvent these limitations you will need to have a button triggering an automation.
However, I don't see specifically limitations concerning partial reloads and selections.
I did some tests with a sample app, and I'm able to do a partial reload with a button, while keeping the current selections.
I suggest that you reach out to support to have this investigated in a case. Please mention this discussion and provide as much details as possible (possibly including the app).
Please note: the investigation might go back to my original statement about in-app reloads.
Thank you Daniele
After some testing I've realized the problem. If I remove Section Access from the app the partial reload works perfectly fine.
I all has to do with my permission table and a left join I need to do before applying section access.
I wasn't aware of using IsPartialReload() to treat joined tables in a partial reload (dropping table and using ADD prefix before join)
Now I've changed my script and works as expected.
Thank you all!
Great to know @PedroC !