I try to put my app. to web. I’m very newbie in this theme. A used this Ls code a lot of time.
Dim ss As New NotesSession
Dim doc As New NotesDocument(ss.CurrentDatabase)
doc.form=“formx”
doc.field1=“SomeThing”
Set uidoc= ws.EditDocument(True,doc)
I put this code to an agent, but what is the equialent of the last row?
I tried something like this:
Print ||
but it’s wrong.
Have you the solution?
Thanks,
BZ.
Subject: Wath’s the Javascript equialent of this Lotusscript code
Put that in an agent that is called from the WebQueryOpen event. Where doc is equal to the DocumentContext. And whatever URL you use to open that page, add ?OpenDocument to the end of it, putting that in edit mode.
Subject: RE: Wath’s the Javascript equialent of this Lotusscript code
I sad that I’m newbie, therefore i don’t understand your response. My goal is create a new document which get some information before open it for user. How can i do it in Web? I tried the webquery agent, but 1 can’t pick up the needed info.
Subject: RE: Wath’s the Javascript equialent of this Lotusscript code
well why can’t you put the property on the form to open in edit mode?