Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Talend Cloud AWS EU Scheduled Outage: Starting Tues 26 May 21:00 CEST with expected completion Wed 27 May 01:00 CEST
cancel
Showing results for 
Search instead for 
Did you mean: 
PedroC
Contributor III
Contributor III

Partial reload and current selections lost when triggered by button actions

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!

Labels (1)
5 Replies
Goldy-chicken
Contributor
Contributor

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.

PedroC
Contributor III
Contributor III
Author

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…

Daniele_Purrone
Support
Support

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.

Daniele - Principal Technical Support Engineer & SaaS Support Coordinator at Qlik
If a post helps to resolve your issue, please accept it as a Solution.
PedroC
Contributor III
Contributor III
Author

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!

Daniele_Purrone
Support
Support

Great to know @PedroC !

Daniele - Principal Technical Support Engineer & SaaS Support Coordinator at Qlik
If a post helps to resolve your issue, please accept it as a Solution.