Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

nancy_sbeity
New 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
Employee
Employee

Re: Reload a Qlik Sense app using .NET SDK

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
New Contributor III

Re: Reload a Qlik Sense app using .NET SDK

Hi,

it is returning true and no mistakes in the script.

Employee
Employee

Re: Reload a Qlik Sense app using .NET SDK

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

Re: Reload a Qlik Sense app using .NET SDK

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

Community Browser