Chip Gore · Sep 20

Launching an application from a CSP Page

Hi -

I'm looking for some help in getting an OS level application on my server to startup from a csp page and I'm just missing something.

I have a routine (and I've tried the same code from an instance method, with the same results) that will launch an application at the OS level using the $zf(-100,keywords,program,parms) from a terminal session, but it won't/doesn't seem to work when I call the code from a #server() call from my webpage. I don't know if there is some combination of keywords or perhaps a different version of the $zf() call that should/would work.

I am open to any suggestions at this point.

Product version: IRIS 2021.1
$ZV: IRIS for Windows (x86-64) 2021.1 (Build 215U) Wed Jun 9 2021 09:39:22 EDT
1 80
Discussion (5)3
Log in or sign up to continue

Have you tried "jobbing" the routine from the CSP?

Jobbing had no effect. :(

Does your CSP application have sufficient Call-out Privs?  Check the audit log to see if there are any security failures from the #server() call

The #server() call seems to be doing what I expect, it returns a value that I "alert();" and I'm getting that value back, so it's not crashing in there and I'm not seeing anything in any logs :-/

@Chip Gore  - if it is returning the value and you get it back, then I don't understand what you mean by "it won't/doesn't seem to work when I call the code from a #server() call from my webpage."  What isn't happening resulting in your classification of "not working"?