2 Replies Latest reply: Jan 21, 2016 5:27 AM by Марина Марина RSS

    Troubles with opening my apps in hub from c# code.

      Hello All,

      Need your help.

      I use .Net Sdk version 2.1.1 and have some troubles with opening my apps in hub from c# code.

       

      I open my Qlik Sense Desktop.

      Get location

             ILocation location = Location.FromUri(new Uri("http://localhost:4848"));

              location.AsDirectConnectionToPersonalEdition();


      I can create new apps, and get information about existing, but I can not open app in desktop hub.

           var appIdentifier = location.AppWithNameOrDefault("Executive Dashboard");

           using (var hub = location.Hub()) // Location specified in Accessing

           {

                  var app = hub.OpenApp(appIdentifier.AppName);

           }

       

      Thanks and Regards,

      Marina