Qlik Community

QlikView Management

Discussion Board for collaboration on QlikView Management.

henrikmatz
Contributor II

EDX trigger with QVS API

Since QV 11 no longer aupports "http EDX" im looking for an example in VBScript to start an EDX trigger with the QVS API.

I can only find examples in C#, but i need to write it in vbScript.

Henrik

Tags (3)
13 Replies
tle
Contributor II

Re: EDX trigger with QVS API

Hi Henrik,

I don't have a vbScript example but see this document:  http://community.qlik.com/docs/DOC-2650.  I has some sample code (.net) to go along with it - easiest to write it in .net.

Arthur

henrikmatz
Contributor II

EDX trigger with QVS API

Thanks,

but i cannot find anything written in vbScript in the enclosed.

And my skills are zero in .net and c#.

jerrysvensson
Valued Contributor II

EDX trigger with QVS API

Hi

Many of our customers use EDX to start a reload when they run an application in plugin.

Now we achieve this with a macro in the application.

Will this be possible to do in version 11?

tle
Contributor II

EDX trigger with QVS API

Henrik,

If you can compile the code then it can be used with VBS.  We are working on getting working samples up on the community.

Arthur

MVP
MVP

EDX trigger with QVS API

I don't know if it's directly relevant as I haven't fiddled with it, but Rob Wunderlich's download page (http://robwunderlich.com/downloads/) has a file REQUESTEDX, described as a "VBS script to trigger a Qlikview task from the command line."

henrikmatz
Contributor II

EDX trigger with QVS API

Thanks John and Arthur,

The script from Rob will not work in QV11 because it use port 4720 (QDS).

I like the idea about making an example, cause i think we are a few that needs the feature.

Henrik

tle
Contributor II

EDX trigger with QVS API

Rob's code will not work in v11 since we aren't supporting the http post method of triggering EDX and EDX is triggered through the QMS API not through a single QDS.

Not applicable

EDX trigger with QVS API

Hi Arthur,

Will they any step / documentation on the EDX trigger through QMS API?

I am already following the steps and using the command in the post : http://community.qlik.com/docs/DOC-2650

But I cannot run the command through the access point while it only succeed in the qlikview client.

Not applicable

EDX trigger with QVS API

Hi,

I solved this issue like this:

1. I downloaded the QMSEDX from the resources on the site (linked above).

2. Using this macro, I was able to run it from the access point:

sub QmsEdxCmd

          dim strTaskName

          dim strTaskPassword

          dim strServer

          dim strCommand

 

 

          strTaskName= ActiveDocument.Variables("vTask").GetContent.String

          strTaskPassword= ActiveDocument.Variables("vPassword").GetContent.String

          strServer = "http://qvpublish:4799/QMS/Service"

          strCommand = "\\qvdev\QMSEDX\qmsedx.exe -task="&strTaskName&" -qms="&strServer&" -password="&strTaskPassword

 

          Set WshShell = CreateObject("WScript.Shell")

          Return = WshShell.Run (strCommand,0,false)

 

end sub 

Hope it helps

Community Browser