php-ews icon indicating copy to clipboard operation
php-ews copied to clipboard

Add event on other User calendar when write access is granted

Open kl3sk opened this issue 3 years ago • 1 comments

Hello,

I'm able to read Calendar that other user share with me, but I don't know how to write to add event on them.

Can someone help ? @Garethp Could you help too ?

Thanks

kl3sk avatar Nov 16 '20 10:11 kl3sk

With issue https://github.com/Garethp/php-ews/issues/183 I've found a solution (for me at least).

Unless @Garethp said:

First of all, I don't think you actually need the

$folder = $api->getFolderByDistinguishedId('calendar');
$calendar = $api->getCalendar();
$calendar->setFolderId($folder->getFolderId());

This is required in my case

More info on StackOverflow

kl3sk avatar Nov 16 '20 19:11 kl3sk