Notifications
Announcements
Hello,
I am trying, using orderby, to sort the received data from OData.However, it is not working for me - doesn't sort..
I using:
[*d365URL*]/data/[*data entity collection name*]?&orderby=[*field*]
Is this no longer supported?
https://learn.microsoft.com/en-us/openspecs/windows_protocols/ms-odata/793b1e83-95ee-4446-8434-f5b634f20d1e
Thanks.
Hi, I have tried below query, Orderby is working as expected
xxxxxx.sandbox.operations.dynamics.com/.../CustomerGroups
I can see that sorting does not work on custom data entities..
I tried comparing my entity to standardoywch, but found nothing. Is some settings responsible for OData sorting? Or maybe the custom tables I created don't have the right settings?
I have tried with my custom Data entity and sorted on Qty field and it worked perfectly fine. I don't think there is any extra setting or property required.
Unfortunately it doesn't work on my custom data entity.
Does anyone have any suggestions?
How is the data sorted by default in the data entity?
Hi Shooowtek,
The orderby query is supported, I noticed that you have used the wrong symbols. Please try with the symbols ‘$’ again.
[*d365URL*]/data/[*data entity collection name*]?$orderby=[*field*]
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Abhilash Warrier 732 Super User 2025 Season 2
André Arnaud de Cal... 413 Super User 2025 Season 2
Martin Dráb 289 Most Valuable Professional