Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LotusScript Print "Hello World"

41 views
Skip to first unread message

John

unread,
Aug 10, 2004, 4:36:34 PM8/10/04
to
It's widely stated that when a Notes agent is called from a web page
and when that agent executes a Print statement, the string in the
print statement is rendered straight to the browser as HTML. It's
supposed to work like this.

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

businessgoodies.com

unread,
Aug 11, 2004, 4:02:34 AM8/11/04
to
Hi John,

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

businessgoodies.com

unread,
Aug 11, 2004, 4:16:01 AM8/11/04
to
Hi John,

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".

0 new messages