Skip to main content
Woohoo! Qlik Community has won “Best in Class Community” in the 2024 Khoros Kudos awards!
Announcements
Save $600 on Qlik Connect registration! Sign up by Dec. 6 to get an extra $100 off with code CYBERSAVE: REGISTER
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