Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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
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
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
I think this thread should be of help for you:
Actually this is also interesting:
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
Thank you Eli
Good solution and works OK!