timezone - EWS API - update a meeting -
i utilize ews managed api synchronize appointments exchange / exchange online. works good. unfortunately there problems appointments created in exchange meeting request. (ismeeting = true) if set time zone (starttimezone, endtimezone) , seek save, comes next error: "set action invalid property." other properties such start , end of appointment can changed , saved. appointments not meetings, time zone can changed , saved easily.
the code looks this:
appointment = appointment.bind(service, new itemid("<itemid>")) appointment.starttimezone = timezoneinfo.local 'problem appointment.endtimezone = timezoneinfo.local 'problem appointment.start = datetime.parse("22.10.2014 11:00:00") appointment.end = datetime.parse("22.10.2014 12:00:00") appointment.update(conflictresolutionmode.alwaysoverwrite, sendinvitationsorcancellationsmode.sendtonone) 'error
can tell me how alter time zone of meeting, or cause of error is?
thank you.
regards, torsten
exchange treates appointments & meetings in similar fashion internally. difference appointments doesnot have attendees. 1. in update, need utilize sendtoallandsavecopy instead sendtonone. 2. no need mention, ismeetin. instead utilize meeting.itemclass = "ipm.appointment"; 3. mention exchange version, requestserverversionvalue.version = exchangeversiontype.exchange2010_sp2; requuired default, has exchange 2007. 4. exchange 2010, need mention start & end time zones, timezonedefinitiontype tz = new timezonedefinitiontype(); tz.id = timezone.currenttimezone.standardname; meeting.starttimezone = tz; meeting.endtimezone = tz;
note: code snippets working code useing ews proxy class
api timezone ews managed meeting
No comments:
Post a Comment