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

EDX Macro

Hi,

I'm trying to execute a EDX macro via a button with this script :

Sub RefreshEdx()

set shl = createobject("wscript.shell" )

shl.run "cmd  /c \\xdwhqview01b\QlikView\Test\QMSEDX.exe -task=Test\B.qvw -password=test"

End Sub

but it doesn't work ?? did i something wrong ?

thanks

46 Replies
Anonymous
Not applicable
Author

I don't realy understand ??

perumal_41
Partner - Specialist II
Partner - Specialist II

Hi Nassim,

C:\>\Documents and Settings\QI\Desktop\New Folder\QMSEDX.exe -task="New Folder\Test1.qvw" -qms=http://192.168.10.227:4799/QMS/Service -password="quantum"

This EDX Code what will action do?

Anonymous
Not applicable
Author

it's look like fine.

but, try to tape http://192.168.10.227:4799/QMS/Service on your browser, you must have something like that :

Capture.PNG

perumal_41
Partner - Specialist II
Partner - Specialist II

Hi Nassim ,

I have attached QMS Service screenshot please find out .

QMS.PNG

Anonymous
Not applicable
Author

Fine,

your code should work :

C:\>Documents and Settings\QI\Desktop\New Folder\QMSEDX.exe -task="New Folder\Test1.qvw" -qms=http://192.168.10.227:4799/QMS/Service -password="quantum"

perumal_41
Partner - Specialist II
Partner - Specialist II

Hi Nassim,

This code will do reload action  or other action?.How i will execute tis code ,little bitexplain briefly .

Thanks

Regards

Perumal A

Anonymous
Not applicable
Author

it depend on your task configuration, this code can do the reload and also the distribution.

perumal_41
Partner - Specialist II
Partner - Specialist II

Hi Nassim ,

task configuration means puting reloading schedule  in QMC is  correct ,else where i do task configuration.need publisher license for EDX Task runing ?

Anonymous
Not applicable
Author

Configuration means to activate the distribution:distribution.PNG

and the reload:

reload.PNG

you can also run EDX task without Publisher licence, you'ill got this :

ex.PNG

perumal_41
Partner - Specialist II
Partner - Specialist II

Hi,

I first enabled On an External Event ,then given password 123 and finally  run edx file.

But application didn't reload in QMC. otherwise i will do wrorg anything .I have attached  QMC Reload schedule Image .QMC.PNG