Hi,
We have a requirement to open an external application URL using IE browser (since the URL uses ActiveX and only rendered in IE). I tried using Java Runtime library’s “exec” method to open the URL and it worked.
Only issue is when I try to pass parameters to the URL – the parameters get suppressed in the URL when opened through code. URL is being formed correctly from the code.
Can you please check the code and suggest how to proceed with the requirement?
(import ‘java.lang.Runtime)
(let
(
(jre (java.lang.Runtime’runtime))
(inst ((this’model)’selection))
(extURL (get-config-property-flag “externalURL” “string” #f))
)
(set! extURL (string-append url “?php=-1&frf=-1&lid=” libId “&oid=”(inst’objectId)))
(jre’exec (string-append “cmd /c start ” extURL))
)
Expected URL: https://myurl.testdomain.com/test/webviewer/viewer.asp?php=-1&frf=-1&lid=1000&oid=DAGR53216
Actual URL that opens in IE: https://myurl.testdomain.com/test/webviewer/viewer.asp?php=-1