Extra Calendar Entries Exist with entry - ERROR File does not exist

Mindwatering Incorporated

Author: Tripp W Black

Created: 09/21/2017 at 06:55 PM

 

Category:
Using Lotus Notes
Issue Troubleshooting

Issue:
After using the Add a Calendar option, several extra Calendar entries exist down in the Shared Calendars section of the page. In addition, each time the calendar is opened, several more seem to appear. Following the breadcrumbs in the Domino Designer Calendar FS frameset down to the page's outline, these entries pull from about 20 fields from the mail file's Calendar Profile document.



Solution:
The easiest solution is to delete the Calendar Profile and let Notes automatically re-create it on the next time the mail file is opened.
You can either write and run an agent to get the Calendar Profile and delete it, or use IBM's all-in-one tool to remove it. To get the All-in-One admin tool, search for Technote swg21459332.

All-in-One app:
Admin Tools app --> Misc. view --> Remove Profiles option --> select mail file --> click Populate Choices --> select CalendarProfile --> click Remove Selected button. Close and restart Notes or Notes will crash when switching back to mail.

Agent:
Create the following Lotuscript agent in the mail file and then run it.
Dim s As New NotesSession
Dim db As NotesDatabase
Dim doc As NotesDocument
' get the profile
Set db=s.CurrentDatabase
Set doc=db.GetProfileDocument("CalendarProfile")
' remove the document
If Not (doc is nothing) Then
Call doc.remove(True)
MsgBox "Profile Document Was Successfully Removed"
Exit Sub
Else
MsgBox "Profile Document WAS NOT Removed",48
Exit Sub
End If



previous page