Qlik Community

Ask a Question

Connectivity & Data Prep

Discussion board where members can learn more about Qlik Sense Data Connectivity.

Our May 2021 end-to-end product release from Data Integration to Data Analytics is out! READ DETAILS
Showing results for 
Search instead for 
Did you mean: 
Contributor II
Contributor II

connect qlik sense server sdk

hello, I want to perform the warm cache of one of the applications, 
I have the web credentials, the problem is that the script never ends up being executed
(it fits in the code line var app = location.AppWithNameOrDefault ("test1");) I enclose a part of the code, thanks!




Uri uri = new Uri("https://server.domain.cl:4747");

ILocation location = Qlik.Engine.Location.FromUri(uri);

location.AsNtlmUserViaProxy(proxyUsesSsl: false, loginCredentials: new NetworkCredential("user", "pass", "domain"));

QlikConnection.Timeout = Int32.MaxValue;

var theConsole = new DebugConsole();

var app = location.AppWithNameOrDefault("prueba1");

var t = DateTime.Now;

var dt = DateTime.Now - t;

Print("Cache initialization complete. Total time: {0}", dt.ToString());


Labels (2)
0 Replies