You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I had this code:
$list->getItems()
->select("BuyerName,BuyerTitle,BuyerAddress,BuyerMobile,TrackingCodeTitle,"
. "BuyerPostalCode,Amount,ServiceCode/ServiceCode,Advisor/Title,CourseCode/Title")
->expand("ServiceCode,Advisor,CourseCode")
->filter($filter)
->top(1);
But, I can not get $item->Advisor[0]->Title.
As I saw in your code JsonPayloadSerializer.php:
in convertToClientObject function had this line code:
else {
$propertyObject = $targetObject->getProperty($key);
....
It's alway null, so you can get their value.
Can you fix that?
The text was updated successfully, but these errors were encountered:
I had this code:
$list->getItems()
->select("BuyerName,BuyerTitle,BuyerAddress,BuyerMobile,TrackingCodeTitle,"
. "BuyerPostalCode,Amount,ServiceCode/ServiceCode,Advisor/Title,CourseCode/Title")
->expand("ServiceCode,Advisor,CourseCode")
->filter($filter)
->top(1);
But, I can not get $item->Advisor[0]->Title.
As I saw in your code JsonPayloadSerializer.php:
in convertToClientObject function had this line code:
else {
$propertyObject = $targetObject->getProperty($key);
....
It's alway null, so you can get their value.
Can you fix that?
The text was updated successfully, but these errors were encountered: