ews-java-api icon indicating copy to clipboard operation
ews-java-api copied to clipboard

There are no attendies in the FindItemsResults

Open dimarzio opened this issue 10 years ago • 2 comments

Searching for appointments is working well, but the attendee list is always empty. And this is not the permissions issue. If I use the same user in the outlook I can see all attendees.

CalendarFolder calendar = CalendarFolder.bind(exchangeService, new FolderId(WellKnownFolderName.Calendar, mailbox)); CalendarView viewTimeRange = new CalendarView(from.toDate(), to.toDate()); FindItemsResults appointments = calendar.findAppointments(viewTimeRange);

Following expression is always empty: appointments.getItems().get(0).getRequiredAttendees()

Other information is available. Bug? Wrong API usage?

dimarzio avatar Apr 14 '16 08:04 dimarzio

Try calling Appointment.load() before querying the attendees list.

indriesergiu avatar Apr 18 '16 09:04 indriesergiu

Thank you! It worked.

dimarzio avatar May 15 '16 21:05 dimarzio