I have updated color for one of the categories in the calendar profile document, but the colors don’t actually get pushed down to the client. If the user clicks More > Preferences > OpenNTF > Category Colors … they see the new category and the new color, but unless they make a change to something and press OK their calendar never refreshes with that new color for that category.
Here’s how I updated the colors:
Dim s As New NotesSession
Dim db As notesdatabase
Dim profile As notesdocument
Set db=s.CurrentDatabase
Set profile=db.GetProfileDocument("CalendarProfile")
Call profile.replaceitemvalue("Category3List", "HR Announcement")
Call profile.replaceitemvalue("Category3B", "FFC0B6")
Call profile.replaceitemvalue("Category3F", "E12000")
Call profile.save(True, True)
I see a call in the origonal code that I think might refresh the colors, but I’m not sure how to run it (just adding this with the code above doesn’t actually refresh anything).
Call colorNote.replaceitemvalue(“colorChange”, “1”)
We’re using this for “HR Announcements”, so that the color of those items tagged show up as All Day Events with a RED color instead of the default color.
Anybody got any clues? I’d really appreciate a push in the right direction here.