Create an action on a form. The action formula is:
@Command([ToolsRunMacro]; "My Agent")
Create an agent in the database. Set it to be called from agent list
and to run once (@Commands can be used).
The initialize routine for the agent is:
Sub Initialize
Print "Hello World"
End Sub
The agent signer is included in the server document's security tab in
the field Can run restricted latusscript/java agents.
When you click the button you should get a blank html page that says
"Hello World"
I get "Page Can Not Be Displayed"
Anyone know why?
CJ
If you want call agent that have run status
set as "Manually From Agent List", you must
use the agent's name comprised with brackets.
@Command([ToolsRunMacro]; "(My Agent)")
Regards,
Pawel Grotowski
---
ConvGO! for Lotus Domino
http://www.businessgoodies.com/convgo/en
Use the calling of the agent in the form:
@Command([ToolsRunMacro]; "(My Agent)")
You have to use the agent's name comprised with
brackets if you are using "Manually From Agent List".