Skip to main content

Handling JSON request command

We have added a new overridable method to QvxServer, HandleJSONRequest. If you implement this method you will be able to handle any QVX_GENERIC_COMMAND that is not one of the pre-defined ones in the QVX API documentation. For a good example have a look at the getTables() call in selectdialog.js and compare it to the handler in QvEventLogServer.cs in the EventLogSimple connector.

Example: implementation of HandleJSONRequest

/// <summary> /// This method should be overridden by a custom connector. It /// should return a QvxReply. /// </summary> /// <param name="method">Method called</param> /// <param name="userParameters">User defined parameters</param> /// <param name="connection">Reference to the current connection</param> /// <returns>A QvxReply</returns> string HandleJsonRequest(string method, string[] userParameters, QvxConnection connection)

Did this page help you?

If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!

Join the Analytics Modernization Program

Remove banner from view

Modernize without compromising your valuable QlikView apps with the Analytics Modernization Program. Click here for more information or reach out: ampquestions@qlik.com