Qlik Community

Ask a Question

Connectivity & Data Prep

Discussion board where members can learn more about Qlik Sense Data Connectivity.

Announcements
Our next Qlik Insider session will cover new key capabilities. Join us August 11th REGISTER TODAY
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

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.

1 Reply
Not applicable
Author

Please refer to:

https://community.qlik.com/thread/171660

Kind Regards,

Adam