1 Reply Latest reply: Jul 10, 2015 7:01 AM by Adam Bielasty RSS

    QvxSDK, how to pass state in QvConnection (MParameters is null)

      Hi,


      I am creating a custom connector for QlikSense.


      I have a problem with passing state (username, password) in QvConnection.


      I can see state in connectiondialog.js/connectiondialog.ng.html as I read that like here:

      string username, password;

      connection.MParameters.TryGetValue("userid", out username);

      connection.MParameters.TryGetValue("password", out password);


      and it works when I have that first connectiondialog. However, I MParameters is null when I open the second build-in popup window in QlikSense for selecting tables/db/owner etc.


      When that window is opened I don’t have any possibility to keep the state about username and password.

      MParameters in QvConnection is null.

       

      Do you know how can I use MParameters to get the information about username and password when I open QS build-in dialog for selecting data (database/owner/tables etc.)?


      Can I use args from main entry point to pass some values somehow? Is there any way to use args in streaming mode with my customized params or username and password?

       

      Your help will be be very appreciated.