Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
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.
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.
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.
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.
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.