**Steps to reproduce I am trying to get "additional properties" associated with a calendar item. I use the following code:
$FindItem->Traversal = "Shallow";
$FindItem->ItemShape->BaseShape = "AllProperties";
$FindItem->ItemShape->IncludeMimeContent = true;
$FindItem->ItemShape->AdditionalProperties[0]->PathToExtendedField->DistinguishedPropertySetId
= DistinguishedPropertySetType.Appointment;
$FindItem->ItemShape->AdditionalProperties[0]->PathToExtendedField->DistinguishedPropertySetIdSpecified
= true;
$FindItem->ItemShape->AdditionalProperties[0]->PathToExtendedField->PropertyType
= MapiPropertyTypeType.String;
$FindItem->ItemShape->AdditionalProperties[0]->PathToExtendedField->PropertyName
= "STMeetingId";
$FindItem->ParentFolderIds->DistinguishedFolderId->Id = "calendar";
$FindItem->ParentFolderIds->DistinguishedFolderId->Mailbox->EmailAddress =
"jdoe@xyz.com";
$result = $client->FindItem($FindItem);
**What is the expected output? What do you see instead? Schema validation fails. I have copied the types.xsd from Exchange server (2010) and have copied it locally. "Path is abstract or its type is abstract".
**What version of the product are you using? On what operating system? I am using Exchange 2010. Client code is running on WindRiver linux.
**Please provide any additional information below. This is part of getting all calendar items for all users. It works. But now I am trying to access either the custom "user properties" set via outlook or the body of the calendar item which has some text which I am interested in.
Please let me know.
Thanks, Sachin
Comment #1
Posted on Jul 22, 2010 by Quick MonkeyHi, sorry i'm not able to help you. But maybe you can post your complete php-code for getting all calendar items for all users.
Thanks
Comment #2
Posted on Oct 26, 2010 by Helpful WombatDid you ever find a workaround for this? I am hitting it too.
Comment #3
Posted on Oct 26, 2010 by Happy BearNo. I use the Calendar body to get around the problem.
What I know till now: Outlook plugin was adding specific "user properties" which I cannot get via Exchange Web Services.
I got around the issue by having the outlook plugin add that information in the calendar body (some meeting information) which can be easily obtained by GetItem request.
Comment #4
Posted on Oct 26, 2010 by Helpful WombatI found a workaround, if anyone is interested:
$FindItem->Traversal = "Shallow"; // XXX This is a ridiculous hack. $FindItem->ItemShape->AdditionalProperties = new SoapVar(' ', XSD_ANYXML); $FindItem->ItemShape->BaseShape = "IdOnly"; /* Etc... */
Comment #5
Posted on Nov 9, 2010 by Happy BearHi, workaround for what?? I would appreciate if you have answer for any of the following:
- Outlook client (plugin) adds in Item Properties. I need to retrieve them via Exchange Web Services. OR
- Outlook client (plugin) adds in some Property tags and need to be retrieved via Exchange Web Services.
Thanks, Sachin
Comment #6
Posted on Feb 14, 2012 by Quick KangarooThis issue has been moved to GitHub https://github.com/jamesiarmes/php-ews/issues/6
Status: MovedToGitHub
Labels:
Type-Defect
Priority-Medium