Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

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

13 Replies
Anonymous
Not applicable
Author

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

Anonymous
Not applicable
Author

Thanks,

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

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

jerrysvensson
Partner - Specialist II
Partner - Specialist II

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?

Anonymous
Not applicable
Author

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

johnw
Champion III
Champion III

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."

Anonymous
Not applicable
Author

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

Anonymous
Not applicable
Author

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
Author

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
Author

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