Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
nancy_sbeity
Partner - Contributor III
Partner - Contributor III

Reload a Qlik Sense app using .NET SDK

Hi All,

I need your help.

I am working on Qlik Sense SDK. I am able to create an app, change in the script, add a chart ... through Visual Studio .Net.

The only thing that didn't work is the reload. I am able to change in the script, modify it, add new data... I am using app.DoReload() function.

Is there an other way to reload an application using SDK?

Thank you

Nancy

4 Replies
Øystein_Kolsrud
Employee
Employee

Hi! The "DoReload" method returns a Boolean indicating whether or not the reload succeeded. Does it return "true" in your case? Could there be something wrong in the script?

nancy_sbeity
Partner - Contributor III
Partner - Contributor III
Author

Hi,

it is returning true and no mistakes in the script.

Øystein_Kolsrud
Employee
Employee

Are you connecting to a server or a desktop? If it's a desktop you will need to add a call to "DoSave" on the app like this:

app.SetScript(<the script>);

app.DoSave();

app.DoReload();

Not applicable

Hi,

Could you be missing a SetScript after modifing it?

There is an example on AptkQlik · GitHub Reloader_NTLM that might be usefull.

Best regards

Lars-Göran Book