From a custom database, I am sending meetings out to people’s mail files. I have this working generally OK - I send an Appointment to the chair, and a Notice to each invitee, and I make sure ApptUNID matches and everything seems to work mostly fine. I have come up with an issue though:
The chair reschedules the meeting. An invitee who hasn’t accepted the original invite, then tries to accept the original invite after the meeting has been rescheduled. This invitee gets this message:
“The entry that has been rescheduled is no longer in your calendar. Should Notes recreate the entry so that it can be rescheduled? (Note that recreating the entry may take some time)”
When I try to recreate this scenario with a manually created meeting, the message I get is something like:
“You have not accepted the meeting invitaion but there is a reshcedule. Would you llike to open the reschedule now?”
Does anyone have any idea what I might be missing with the meetings that I create with LotusScript?
Any help greatly appreciated.
I have seen these documents and tried everything I can think of based on then:
http://www-12.lotus.com/ldd/doc/uafiles.nsf/docs/WPNotesCSSchema/$File/csschema.pdf
It seems that a lot of the extra fields don’t really make any difference - if you skip putting them on yourself, they are added automatically, if you put them in they don’t seem to change any behaviour.
It basically works OK the way it is, nothing is truly broken, it would just be very nice to get these meetings created by LotusScript to behave exactly the same as manually created ones. Thanks again for any help.
Here is the basic idea of the code I have so far:
'create email
Set Letter = db.CreateDocument
Letter.Form = "Appointment"
'set email headers
Letter.Principal = Chair
Letter.ReplyTo = Chair
Letter.SendTo = Chair
Letter.Subject = Subject
'set calendar entry fields
Letter.ApptUNID = ApptUNID
Letter.AppointmentType = "3"
Call Letter.ReplaceItemValue( "_ViewIcon", 158 )
Letter.Topic = Subject
Letter.Chair = Chair
Letter.RequiredAttendees = Invitees
Letter.StartDateTime = StartDate
Letter.StartTimeZone = TimeZone
Letter.EndDateTime = StartDate
Letter.EndTimeZone = TimeZone
Letter.CalendarDateTime = StartDate
'set body
'blah blah blah
Call Letter.Send( False )
That sends the meeting to the chair.
Here are the only differences for what gets sent to each invitee:
Letter.Form = "Notice"
Letter.SendTo = Invitee
Letter.Subject = "Invitation: " & Subject & " (" & Format( StartDate, "mmm d hh:mm AM/PM" ) & ")"
Letter.NoticeType = "I"
Call Letter.ReplaceItemValue( "_ViewIcon", 133 )
Any ideas?