Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
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