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

how can i get the attendee in an appointment

Open baidiqingxia opened this issue 11 years ago • 3 comments

appointment.getRequiredAttendees(); it's always be null even if i do this when save appointment.getRequiredAttendees().add("[email protected]");

baidiqingxia avatar Apr 28 '15 04:04 baidiqingxia

I actually had a similar issue until I realized I wasn't loading the full property set (since I was only getting the base properties) which caused me to get nulls here too.

Try doing appointment.load();before you make the call to appointment.getRequiredAttendees(); the same goes for if you are altering the state of the appointment, try making the call to appointment.save() if you alter it.

dotCipher avatar Apr 28 '15 07:04 dotCipher

@baidiqingxia did that help your issue?

dotCipher avatar May 03 '15 07:05 dotCipher

Yup, calling load(); fixed the problem. Thanks

indriesergiu avatar Nov 27 '15 10:11 indriesergiu