This is a migrated thread and some comments may be shown as answers.

Exchange writing to Room Mailbox

1 Answer 50 Views
Scheduler
This is a migrated thread and some comments may be shown as answers.
Sergiu
Top achievements
Rank 2
Sergiu asked on 22 Jul 2010, 09:49 PM
Hey guys, I am using the ExchangeSchedulerProvider classes from the Telerik live demos App_Code folder. I have figured out how to group by resources (using 2 conference room mailboxes that have anonymous access). Users credentials are being passed to the class alongside a comma separated list of the 2 conference room mailboxes. The Scheduler control nicely displays the 2 side by side. As they are used as resources in the Scheduler, they also show up correctly in the advanced form. I am having the following issue: When I create an appointment, the service successfully places the appointment in my calendar, but not in the conference room calendar used as resource for this appointment.

I guess what I need to do is figure out how to add RequiredAttendees to this appointment which will turn it into a meeting request...

Any help is greatly appreciated!

Sergiu

1 Answer, 1 is accepted

Sort by
0
Sergiu
Top achievements
Rank 2
answered on 27 Jul 2010, 05:02 PM
Ah... eventually I figured this out by myself...

This is how I instanciated the RequiredAttendees array for the calendaritem I was inserting...

calendarItem.RequiredAttendees =

new AttendeeType[2];

 

calendarItem.RequiredAttendees[0] =

new AttendeeType();

 

calendarItem.RequiredAttendees[0].Mailbox =

new EmailAddressType();

 

calendarItem.RequiredAttendees[0].Mailbox.EmailAddress = apt.Resources[0].Text +

"@#####";

Doing this actually booked the room!

Hope somebody else finds this useful...

:)

 

Tags
Scheduler
Asked by
Sergiu
Top achievements
Rank 2
Answers by
Sergiu
Top achievements
Rank 2
Share this question
or