Qlik Community

New to Qlik Sense

Discussion board where members can get started with Qlik Sense.

fkeuroglian
Honored Contributor

RELOAD SENSE

Hi expert

I am creating an external app in C # that call to Sense.exe, I would like to know if I can call to sense and reload automatically? i want to avoid that the user have to go to the menu and push the button "load data".

of course it is very easy to do this load data and simple but i want to know if i can do automaticaly?

thank you a lot

Fernando

ps: i do not have license and server of sense

1 Solution

Accepted Solutions
ely_malki
Contributor

Re: RELOAD SENSE

Hi Fernando,

at the moment I don't have implemented any solution about Qlik Sense Desktop batch reload.

But I have find an interesting not batch reload Object Extension.

mhamano/Qlik-Sense-Reload-Button · GitHub

Regards,

Ely

5 Replies
ely_malki
Contributor

Re: RELOAD SENSE

Hi Fernando,

at the moment I don't have implemented any solution about Qlik Sense Desktop batch reload.

But I have find an interesting not batch reload Object Extension.

mhamano/Qlik-Sense-Reload-Button · GitHub

Regards,

Ely

MVP
MVP

Re: RELOAD SENSE

I think this thread should be of help for you:

Create reload task with the QRS API

MVP
MVP

Re: RELOAD SENSE

Actually this is also interesting:

Qlik Sense Partial Reload - now possible (>=2.0.1)

Not applicable

Re: RELOAD SENSE

Hi,

You may also look at the .Net SDK, see http://help.qlik.com/sense/2.0/en-us/developer/#Home-developer.htm

There you will find how to, documentation and be able to download samples.

Note you will find the .Net SDK on Nuget NuGet Gallery | Packages matching Qlik Sense

Here is the code to do a reload on a Qlik Sense Desktop.

static void Main()
{
  ILocation location = Qlik.Engine.Location.FromUri(new Uri("ws://127.0.0.1:4848"));
  location.AsDirectConnectionToPersonalEdition();
  var appIdentifier = location.AppWithNameOrDefault("MyApp.qvf");

  if (appIdentifier == null)
  {
    Console.WriteLine(@"The app does not exist.");
  }
  else
  {
    var app = location.App(appIdentifier);
    var reloadSucceded = app.DoReload();
    if (reloadSucceded)
    {
      app.DoSave();
      Console.WriteLine(@"The app is reloaded and saved.");
    }
    else
    {
      Console.WriteLine(@"Reload failed.");
    }
  }
}

Best Regards

Lars-Göran Book

fkeuroglian
Honored Contributor

Re: RELOAD SENSE

Thank you Eli

Good solution and works OK!