Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

HCL Notes/Domino 8.5 Forum (includes Notes Traveler)

Previous Next

Thanks - wrote a small agent

As it happens, we need to update a couple more fields to cover all the cases.

I used the following code:

Dim session As New NotesSession
Dim maildb As NotesDatabase
Dim ooopdoc As notesdocument

Set maildb = session.Getdatabase("server", "database.nsf", False)

Set ooopdoc = maildb.Getprofiledocument("outofofficeprofile")

' Blank out any fields which would normally contain the date

' DaysOut is the field usually used at the beginning of the message
Call ooopdoc.Replaceitemvalue("DaysOut", "")
' SpecialBody is the field used at the beginning of any "Exceptions" message
Call ooopdoc.Replaceitemvalue("SpecialBody", "")
' AppendSubjectDate is the field added to the end of the subject if you enable this option
Call ooopdoc.Replaceitemvalue("AppendSubjectDate", "")

Call ooopdoc.Save(False, False, False)


Feedback response number WEBB8FFEF4 created by ~Manny Quetvelusonettu on 03/30/2011

Out of Office without return date? (~Manny Quetvelu... 29.Mar.11)
. . Sort of... (~Ned Cisboosige... 29.Mar.11)
. . . . Maternity leave! (~Manny Quetvelu... 29.Mar.11)
. . . . . . how about ... (~Phil Nonhipige... 29.Mar.11)
. . . . . . . . Thanks - wrote a small agent (~Manny Quetvelu... 30.Mar.11)
. . . . . . . . . . Thanks - useful script (~Carol Dwoponev... 1.May.13)
. . . . . . . . . . Had to change one more field... (~Helga Churesat... 5.Dec.14)




Printer-friendly

Search this forum

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS