Using ebase With Remote Scripts

Post any questions you have about using the Verj.io Studio, including client and server-side programming with Javascript or FPL, and integration with databases, web services etc.

Moderators: Jon, Steve, Ian, Dave

tom.smith
Ebase User
Posts: 24
Joined: Thu May 09, 2013 2:54 pm

Using ebase With Remote Scripts

#1

Postby tom.smith » Wed May 22, 2013 2:08 pm

Hi guys

Does anyone know if ebase can use external scripts as resources? (batch and PowerShell scripts)

Basically we have some scripts that colleagues run from the command-line. They have to remember to put in the correct parameters in the right format. I'm interested in mocking up some quick forms to make executing the scripts easier, but can't see an obvious way of telling ebase how to interact with the external scripts.

Any ideas would be gratefully received.

Thanks

Tom
0 x

User avatar
jig
Ebase User
Posts: 30
Joined: Sun Oct 09, 2011 10:16 am
Location: UK

#2

Postby jig » Wed May 22, 2013 2:38 pm

Hi Tom,

Assuming that you want to execute scripts on the same machine as Ebase server, you can always create a Java class that executes the batch/PowerShell script(s) and wrap it as a External Resource. This way you can also capture any output and pass it back to the Ebase form.

Have a look at http://stackoverflow.com/questions/6159 ... pplication

In one of our projects we do execute a .bat file from an Ebase form and its working fine.

Hope this helps!

Regards
Jignesh
0 x
Regards,
Jignesh

Jignesh Vaducha, MSc, MCA
Mobile: +44 (0) 77 325 47 112
Telephone: +44 (0) 1462 488 311
Email: jignesh@schnellsolutions.com


Who is online

Users browsing this forum: No registered users and 21 guests