How can I call a LotusScript and agent function from JavaScript?
How can I call a LotusScript and agent function from JavaScript?
Register today to access targeted resources from our editorial writers and independent industry experts focused on Lotus Domino, Notes, Workplace and other related technologies.
You can use a fairly simple and straightforward technique to accomplish this. Simply put the LotusScript code or call to an agent on a button on your form or page. You will probably want to hide this button. Your JavaScript code, perhaps on another button, would have the following code in its click event:
document.forms[0].
lsbuttonname.click()
In this way, executing the JavaScript on a button would execute the LotusScript code (or agent call).
Dig Deeper
-
People who read this also read...
-
This was first published in October 2003