試想兩個表:CRM動態:OData的字符串的JavaScript
TABLE A |TABLE B
Entity |Id
Id |name
Points |Ranking
如何使用排序依據與$拓展:
$select=Entity,Id,Points,A_B/name&$orderby=Id asc&$expand=A_B
我如何通過排名順序是從表B?我已經試過:
$select=Entity,Id,Points,A_B/name,A_B/Ranking&$orderby=A_B/Ranking asc&$expand=A_B
不工作 它會出現以下錯誤:
:: Error : 500: Internal Server Error: The expression 'IIF((Convert(value(Microsoft.Crm.Extensibility.OrganizationDataServiceVisitingQueryProvider).GetValue(p, value(System.Data.Services.Providers.ResourceProperty))) == null), null,
這意味着什麼?