Hi!
Since last update i've got a problem when i want to retrieve records by Xrm.WebApi.retrieveMultipleRecords. Formerly this call here worked fine for me
Xrm.WebApi.retrieveMultipleRecords("account", "?$filter=accountid eq " + accountId + "&$expand=account_activity_parties($expand=activityid_activitypointer)").then(
but what i get now is the following error
"error": {
"code": "0x0",
"message": "The navigation property 'activityid_activitypointer' cannot be expanded. Only many-to-one relationships are supported for nested expansion."
}
Point is, when i call the API like this (which is more or less like the xrm call above)
xxxx.api.crm4.dynamics.com/.../accounts
then i get the same error.
When i do it like that
xxxx.api.crm4.dynamics.com/.../accounts(GUID)
then i'll get the expected result.
But for me there's no difference at all concerning the nested expand, it's still the same kind of relation.
Any Ideas?
Hi,
Not sure but after reviewing below links, it seems that we need follow below approach for $expand
xxxx.api.crm4.dynamics.com/.../accounts(GUID)
Links,
https://www.odata.org/odata-services/#v3
https://community.dynamics.com/crm/b/crminthefield/posts/nested-expansion-using-the-web-api
Hope this helps.
Thanks,
Pradeep.
Daivat Vartak (v-9d...
225
Super User 2025 Season 1
Muhammad Shahzad Sh...
106
Most Valuable Professional
Eugen Podkorytov
102