05-31-2018 01:42 AM
I read quite a few posts on using $select | $expand or $filter on customFields, but haven't seen anyone mention $orderby, so here I go.
I'm trying to filter products in a certain Opportunity by a custom field. So, something like:
However, through Postman I get a "unable to sort on this column" as a result.
Admittedly, using $filter, $select or $expand on customFields under products didn't work either so far in my tests, so I'm either doing something very basic very wrong, or all of this is not yet implemented in that part of the data. Which one is it?
06-13-2018 09:43 AM
Your syntax is correct, but ordering on custom fields are not supported yet. I will bring this up to product owner to see if we can get this added.
This feature is in our backlog, it is scheduled for July release, but I am trying to find a solution to this. We upgraded to the lastest OData libraries, which did fix some, but not all the issues with CustomFields. Currently, $select $Expand, and $Orderby are still not working.