Other OutSystems sites...
OutSystems Website
About Agility Blog
OutSystems Network
Login
Signup
Forums
Academy
Forge
Ideas
Forums
›
Technology & Integration
›
Calling external applications
Calling external applications
Pedro Barbosa
Rank: #661
Posted on 2011-07-25
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hello all,
I planning to create a application using the Agile Platform that will execute external commands/applications (e. g. batch files).
Is this supported by the platform, or must I code this?
Thanks in advance,
Pedro Barbosa
Hermínio Mira
Rank: #60
Posted on 2011-07-25
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hi Pedro,
Is there really anything we can't do with this platform? Or with some extensions to it... :)
I've used this one in a project and it worked fine:
http://www.outsystems.com/NetworkSolutions/ProjectDetail.aspx?ProjectId=62
Hope that helps,
Hermínio Mira
Miguel Melo
Rank: #6
Posted on 2011-07-25
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Side note: I believe you will also need to grant permissions to the ASPNET / NETWORK SERVICE User to (at least) read and execute in the folder where the EXE you'll be launching resides (assuming it's not strictly inside the eSpace's deploy folder).
Cheers,
Miguel
Pedro Barbosa
Rank: #661
Posted on 2011-08-26
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Hello Hermínio.
I tried to use the process extension but when I set the WorkingDir on the ProcessExecute action to "C:\Windows", for example, an exception is raised saying "The directory name is invalid ".
Can you help me?
Thanks.
Hermínio Mira
Rank: #60
Posted on 2011-08-26
thumbs_up_ico
0
thumbs_down_ico
0
reply
post_link_ico
Pedro,
The first thing that comes to mind is what Miguel Melo has mentioned about user permissions on the folder, try to either check this permissions or create a sample folder and test it on that new folder.
Cheers,
Hermínio Mira
Quick Reply
Notify me by email when someone answers to my post
attachment
Choose File
No file chosen
Submit
Login to reply
Something on your mind?
Login to Start a Discussion
Top Forums Posters
Gonçalo Martins
Davide Marquês
Ricardo Silva
Statler & Waldorf
Richard Pearson
Fábio Silva
Justin James
Charles Colaço
Robert Chanphakeo
Kilian Hekhuis
See leaderboard
Online Training
On-demand video lessons to help you learn at your own pace.
Learn More