Open Leenzur opened 8 years ago
You can use $field->FieldURI
to set the contact notes. For example:
$field = new SetItemFieldType();
$field->FieldURI = new PathToUnindexedFieldType();
$field->FieldURI->FieldURI = new UnindexedFieldURIType();
$field->FieldURI->FieldURI->_ = UnindexedFieldURIType::ITEM_BODY;
$field->Contact = new ContactItemType();
$field->Contact->Body = new BodyType();
$field->Contact->Body->_ = $body;
$field->Contact->Body->BodyType = new BodyTypeType();;
$field->Contact->Body->BodyType->_ = BodyTypeType::HTML;
$change->Updates->SetItemField[] = $field;
how to get contact notes data using full sync. its doesnt show when I do ALL_PROPERTIES.
@nagesh314 Exchange does not include the body fields (along with various others) in a FindItem
request. You will need to issue a separate GetItem
request in order to get these fields; you can make a single request to get the details of multiple items.
If you have further issues with this, please open a new issue as your question does not pertain to the original issue here.
Hi everyone ! First thanks for this awesome library ! We are using php-ews to develop some functionnalities like synchronize contacts with our company's web application under Symphony2. Everything works fine, I'm starting to understand how exchange request are made but even if I can read Contacts Notes due to documentation, I don't find any code which explain how update theses. Here is my code for the moment :
Error is : _SOAP-ERROR: Encoding: object has no 'ExtendedFieldURI' property 500 Internal Server Error - SoapFault _ Because I'm trying to access Body property by ExtendedFieldURI for the moment.
Thanks for your help.