Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Not applicable

QMS EDX task in QV 11

I have created a C# solution and build a exe file in the server.

In my qvw, I have created a marco to run the exe file.

It is succeed when I run in the qlikview client.

However, the macro doesn't work when I click it through the access point.

Would anyone have idea on it?

In QV 10, I use EDX trigger event with HTTP Post. But it is removed from QV 11 as it is no longer allow HTTP POST directly to QDS.

The following are the macro script I used.

'==============================

Sub RunEDX

          Dim sh

          Dim cmd

          Set sh = CreateObject("WScript.Shell")

          cmd = "QMSEDX.exe -task=<taskname> -password=<password>"

          sh.exec(cmd)

end sub

'===============================

For remarks:

The server has already been set to allow running unsafe macro and "system access" in the marco scripting engine.

1 Solution

Accepted Solutions
alex_nerush
Partner - Creator II
Partner - Creator II

In accordance with QMS API Documentation calling IQMS.TriggerEDXTask method requeires membership of QlikView EDX group. Actually, you can use IQMS.RunTask method which requires membership of local group QlikView Management API and the role Document Folder Administrator.

View solution in original post

3 Replies
alex_nerush
Partner - Creator II
Partner - Creator II

If you familiar with ASP.NET you can use Open URL Action in wich you can call your ASP.NET application wich will be responsible for reloading your task using QMS API.

Not applicable
Author

Thank you, Alexandr.

In fact, I use the absolute path for the QMSEDX.exe and problem solve

In addition, I wonder if user who are not in the [Qlikview EDX] group or[Qlikview Administrator] group can run the EDX.

alex_nerush
Partner - Creator II
Partner - Creator II

In accordance with QMS API Documentation calling IQMS.TriggerEDXTask method requeires membership of QlikView EDX group. Actually, you can use IQMS.RunTask method which requires membership of local group QlikView Management API and the role Document Folder Administrator.