|
|
Refreshing Keyword Fields
This is supported in Notes 4.6 if you turn on JavaScript support for the database.
Use $$Return
Save the document along with a "done" flag. If the document is not done and you want to refresh the document, you can use the $$Return field to reload the document in edit mode.
Use $$QuerySave Agent
Put this in a $$QuerySave Agent:
Sub Initialize
Dim s As New NotesSession
Dim doc As NotesDocument
Set doc=s.DocumentContext
If doc.Done(0) = "No" Then
Call doc.Save(True,False)
Print "[http://domainname/databasename.nsf/viewname/"+doc.UniversalID+"?Editdocument]"
Else
Call doc.Save(True,False)
End If
End Sub