Skip to main content
Announcements
Qlik Connect 2024! Seize endless possibilities! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
luisvillegas058
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!

 

 

InitializeComponent();

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());


 

0 Replies