There are two ways to get data into QlikView or Qlik Sense using a connector. You can either:
- Use a named pipe to stream data into QlikView or Qlik Sense.
- Let your connector create a QVX file.
This section describes both approaches.
Take Program.cs in QvEventLogConnectorElaborate as an example. The connector has two ways to fetch data from the data source. It can be invoked from the script editor in QlikView or Qlik Sense, or it can be run as a standalone program.
- If the connector is started from QlikView or Qlik Sense, it is given two arguments and therefore enters into the if clause. This means that it will send received data directly to QlikView or Qlik Sense using a named pipe.
- If it runs as a standalone connector instead, it is not given any arguments and the program enters into the else if clause. In this case, all received data is saved in a QVX file.
static class Program
static void Main(string args)
if (args != null && args.Length >= 2)
new QvEventLogServer().Run(args, args); <- data piped to Qlik Sense
else if (args != null && args.Length == 0)
Application.Run(new Standalone()); <- data directed to QVX file