Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Agent on WEB

Status
Not open for further replies.

DerStephan

Programmer
Aug 19, 2003
54
0
0
DE
Hi

I want to create an Webagant

first of all I createtd an agent with these options:
Run: Manually from Action Menu
Documents: all

I selected Lotus Script but for trying i leave the fields empty

in Internet preview when I want to run this agent I called:
Code:
[URL unfurl="true"]http://localhost/Prototyp.nsf/wasgeht?OpenAgent[/URL]
--> error 404 (site not found)

(opening views or so works, i tried out)

In the server log I found this entry

HTTP Web Server: Couldn't find design note - wasgeht [/Prototyp.nsf/wasgeht?OpenAgent]

but I called the agent: wasgeht I am pretty sure!

so thanks for tips in advance

Regards

Stephan
 
I'm new in Lotus but I have same problem with Java Web agent Web Agent didn't work on Documents:all ,only on None.
 
DerStephan :

You will not be able to use an LScript agent to modify fields on an active document from a browser. A browser can initiate an LS agent, but that agent can only work on backend documents. LS is not understood by a browser, therefor a browser cannot execute LS in the window. It is the server that does the execution.
However, that does not prevent you from trying an agent which triggers from a document save, runs on all docs, and modifies only specific docs responding to a given criteria (that you set in the doc you save). When the agent finishes, reload the document in the web and you have you updated document.

Innak :

Unfortunately, I have next to no experience in Java programming, so I cannot give any meaningful counsel.

Pascal.
 
Hi Pascal,

sorry for using your help so much.....

My main problem is, that I don't get the agent run...
I created an Agent and on an action I treid with simply action and formula:
@command([ToolsTRunMacro];AgentName)
but I always get an error. As if it doesn't find the agent...

Or do you have a better possiblitiy to change a field of an Document on click (on browser)?

Regards


Stephan
 
Have it, I forgot to mark the agent as "shared"

stupid misstake


But thank you all for your help


Regards


Stephan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top