New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access item's properties in response message #386
Comments
In the future, please fill out the issue template that is provided in full. During item create, the item id and change set are all that are returned. The responses should be in the same order as they were in the request, though I have not verified this. If you need more data about the item than is returned in the response, you would need to perform a |
Some examples with |
All of the describe examples use |
|
Such as the event/describe example. |
Wait, are you suggesting to do |
If you need more data about the item than is returned in the |
Responses are NOT returned in the same order when using different types of Items (CalendarItem and CancelCalendarItem) in the same request, I verified this. This makes impossible to use php-ews to further process events based on the response messages. You simply can't correspond your events with the response messages. WOW! I hope this will change in the future. |
This is not a limitation of php-ews but of Exchange Web Services. This library only wraps the EWS service providing objects and documentation that that PHP converts to/from XML based on the WSDL/XSD provided by Exchange. Have you attempted to verify whether or not the items in the response are in the same order as the request? |
I said I did in my previous message. Responses are NOT returned in the same order when using different types of Items (CalendarItem and CancelCalendarItem) in the same request, I verified this. |
Ahh, sorry, I missed that, my apologies. My only suggestion then would be to make multiple requests. While I agree that it's inefficient, if you need to use the results of the requests (which you obviously would for |
This is what I figured. I got it to work with multiple requests. Efficiency is real bad, tons of extra code, separate arrays for each type. Is there any possible way for response to contain more than just Thanks. |
Not that I'm aware of, as |
How to correspond specific event from my database and response message?
Using 'examples/event/create.php' as example:
After successfully adding multiple events to Exchange server, I have no way of doing any further actions.
So, what else can I do with successfully added event if all $item properties are empty?
I would like to update my MySQL Database telling that this event was successfully added.
The text was updated successfully, but these errors were encountered: