Pre-populating fields on opening of document using Java

I am new to Java but have used LotusScript quite a bit.I am trying to pre-populate certain fields in a document just before opening the document.

In LotusScript I would just call an agent in the postopen event. That agent would use the UIdocument to use information in the document to compute the missing fields.

This approach doesn’t seem to work with Java.

Any suggestions?

Thanks.

Suzi

Subject: Pre-populating fields on opening of document using Java

You mean Java or Javascript. You can do this via LotusScript (as well) by using the webqueryopen event. Have you tried that?

HTH – feel free to email me if you have example code and need help

Subject: RE: Pre-populating fields on opening of document using Java

I do mean JAVA.

Subject: Pre-populating fields on opening of document using Java

hi

If your are using DocumentContext you should be able to get hold of the backend doc in the Java agent an set some items there. The uidoc may need to be refreshed afterwards.

regards

Jesper Kiaer

http://www.jezzper.com