Skip to main content
Announcements
Join us at Qlik Connect for 3 magical days of learning, networking,and inspiration! REGISTER TODAY and save!
cancel
Showing results for 
Search instead for 
Did you mean: 
LDR
Creator II
Creator II

Button - Reload Data action

Hi everyone,

Today I have started to play with the button action "Reload Data". What to say, in my opinion it'd be an amazing feature if just me would use it, however my idea was to publish my app and let use it to any Analyzer user with access to my app.

What I found was that any Analyzer user can't reload the data. 

What I tried in a second try was using a different Professional user without access to the data connection I used in my app. The result you can imagine, was the same, nothing.

So, although I understand that this behavior would be 100% normal if we wouldn't have this feature, why to include this feature if any other user with the right license type and data connection permissions can't use it.

For sure I'm missing or not understanding something but from my side, if I'd use this button action is for being used by all users who can open my app else, it doesn't make sense at all for me.

So my question would be: what I have to do if I want that any user will be able to reload my app data?

Thanks for your support and apologies if my point of view was too narrow.

Best regards

Labels (2)
9 Replies
QFabian
Specialist III
Specialist III

Hi @LDR , one option is having a schedule task with the minimum possible interval time. Another option is make partial reload, to just reload specific tables and consume less time.

 

Partial Reload

https://help.qlik.com/en-US/sense/November2022/Subsystems/Hub/Content/Sense_Hub/Scripting/ScriptPref...

 

 

 

QFabian
LDR
Creator II
Creator II
Author

Hi @QFabian 

So is that the only way?, I mean: I have to include the partial load logic in my app (via script editor) and create the  proper task (via QMC) only for partial reloads, isn't it?

Although it isn't what I wanted to hear 😋, in some cases it could work for my users so I'll play a little bit more around this option.

Many thanks

 

Or
MVP
MVP

Qlik does not allow Analyzer users to reload apps, either from the app itself or from QMC, I believe. It is necessary to either have a Professional license, or not have a Qlik license at all and load from QMC (which, oddly enough, does work at least last I checked).

It is possible to give some / all Professional users the ability to reload apps from QMC without giving them any additional permissions, which is usually the best approach for letting people reload an app. You can do this using a QMC-only security rule that gives access to the reload section. Because it is QMC-only, there are no issues with needing specific access to the app or connections as it is run under the system user.

LDR
Creator II
Creator II
Author

Hi @Or 

First at all thanks for your time.

Like I said in my first post, according an admin perspective all you said make sense however my question was, why to include the reload action if in any environment we can have Power and Analyzer users working with the same apps. 

Maybe my point of view is conditioned by one old reporting app which was replaced in my environment by Qlik Sense. In this app normal users (Analyzers) could reload data without being developers (Power users). That's a different history.

Anyway, I really apreciate your time.

Best regards

Or
MVP
MVP

While I would personally not want to allow a large number of people to reload an app, if you want to go down that particular path, you could probably use API to trigger a reload on the server side and allow your users to trigger that.

LDR
Creator II
Creator II
Author

Hi @Or 

Umm, interesting. In this case how would be the approach? I mean, what API solution I should use and how the user could execute it?

Currently I'm starting to play with QRS API and I tried how to start a task but using POSTMAN, nothing inside any app.

Thanks

Or
MVP
MVP

I haven't actually tried doing this from within an app as we use QMC triggering, but I believe this should be doable if perhaps a bit clunky. It should be just a matter of getting the API call triggered, which could be done with a script / server-side process on another server, for example, which you'd just have to link through to.

Suhr
Contributor II
Contributor II

Hello @LDR,
did you find a solution for this? I'm facing exactly the same problem. In fact, some of our customers have given all rights to their employees, but the idea is that they can just easily reload the data.

It would be great if we had the option to give users access to reload and not other features like changing the scripts!



LDR
Creator II
Creator II
Author

Hi @Suhr 

Sorry but I don't have found any solution so I'm in the same situation than at the beginning. If the user is using an Analist license then he/she can't reload the app. 

If I find any solution I'll share it here in this post.

Best regards