Hi everyone!
Can someone post a lotusscript for an agent that causes a docs’ refresh? (through all the docs in db)
I couldn’t ![]()
Hi everyone!
Can someone post a lotusscript for an agent that causes a docs’ refresh? (through all the docs in db)
I couldn’t ![]()
Subject: Agent to refresh documents’ fields.
Dim w As New notesuiworkspaceDim col As notesdocumentcollection
Dim midoc As notesdocument
Dim s As New notessession
Dim db As notesdatabase
Set db=s.currentDatabase
Set col=db.unprocessedDocuments
Set midoc=col.getFirstDocument
Do While Not midoc Is Nothing
Call midoc.ComputeWithForm(True,False)
Call midoc.save(True,False)
Set midoc=col.getNextDocument(midoc)
Loop
Subject: Agent to refresh documents’ fields.
You can create a smarticon with this command: @Command( [ToolsRefreshAllDocs] ) Or have a look at the Refresh Method