This article applies to QlikView Server 11.
What is an EDX trigger?
EDX stands for Event-Driven eXecution, and is a method to execute tasks in QlikView Server & Publisher from external systems. An EDX can be set on any task, and only needs to be set once.
Execution of an EDX trigger will require a password, which is set at creation of the EDX trigger by the administrator.
How do I create an EDX trigger?
QlikView Server 11
Open QlikView Management Console
and edit the task you want to create the trigger on. On the Triggers
tab, create a new trigger with the type On an external event
. Type the password in the Password
field and save the task.
How do I call an EDX trigger?
In QlikView Server 11, the legacy method of calling EDX was deprecated. Now, EDX is called only via QMS API. The below table states how you can use EDX in different versions of QlikView.
Note: Since this article only conforms to version 11, we will not discuss the HTTP POST method.
QlikView Server 9||
QlikView Server 10||
QlikView Server 11||
Calling an EDX via QMS API
The QMS API requires that you can interact with SOAP web services. This psuedo code sample shows how to programmatically call an EDX trigger from the QMS API using C# and WCF:
QMSClient Client = new QMSClient("BasicHttpBinding_IQMS", "http://qms-server:4799/QMS/Service");
string key = Client.GetTimeLimitedServiceKey();
ServiceKeyClientMessageInspector.ServiceKey = key;
string qdsGuid = new Guid("00000000-0000-0000-0000-000000000000"); //blank guid = any QDS registered (cluster)
Client.TriggerEDXTask(qdsGuid, "my-task-name.qvw", "my-password", "", new string);
For samples and documentation on QMS API in QlikView Server 11, please see the Release Notes and Server Reference manual. These can be found on the QlikView Download page
Calling an EDX via command line
There is also a non-supported power tool named QMS EDX that's developed in the QlikCommunity, that can be used to fire EDX triggers, without writing any code against the QMS API. The QMS EDX tool "wraps" functionality in QMS API and allows for command line execution from external systems. The following command line is a small example of how to use this tool:
QMSEDX -task=my-task-name -qms="http://qms-server:4799/QMS/Service" -password=my-password
The soruce code may require modification if you have installed QlikView Server using the Digital Certificate option for the web service communications. The documentation needed is located in the QMS API Help available via this link:
For more information on EDX in QlikView 11, please see the following articles on QlikCommunity: