Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Invoking binary

    Smartclient 6.5.1, client-side only, non-java server

    A client has asked us to provide a facility to invoke a binary from the browser. This is a secure intranet, and they have modified the browser security to allow this facility. The binary can currently be invoked by typing a specific command into the browser's address bar, and I would like to simulate it. The binary as a normal windows binary and opens its own window.

    The use of window.open leave orphan browser windows open, and I would like to try and avoid it.

    The address to be invoked, without opening any new window, is e.g.

    cmd1:<REFTOPASS>

    I have been looking at using the RPC manager:

    Code:
    isc.RPCManager.send("cmd1:<REFTOPASS>")
    but it gives me a 404 no matter what combinations of parameters I try

    Is it possible to invoke a url without having SC open a window? Is the RPCmanager the way to go?

    Thank you.

    #2
    You can probably do window.location = "url you would type into address bar". This works without leaving the current page for file download, so its likely to work for executing a process as well.

    Comment

    Working...
    X