web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Retrieve Data

(0) ShareShare
ReportReport
Posted on by 140

Which is the fastest approach for retrieve data? i.e OData query,Fetchxml or any other option

*This post is locked for comments

I have the same question (0)
  • Verified answer
    shivaram Profile Picture
    3,315 on at

    If it is c#, then I will suggest you Linq. For Javascript, If you want to retrieve the records where using multiple conditions for Same fields, then you can achieve through Soap using Fetch XML. Or elseOData will be good.

  • ashlega Profile Picture
    34,477 on at

    Hi,

     I believe everything is (or will be ) routed through Web API. OData and Soap endpoints are being deprecated, even though they are still working. From the C# standpoint, QueryExpression and Linq are not "native" for Dynamics - they'll be converted to FetchXml.

     So, in a way, FetchXml is, probably, the fastest on the C# side. Unless you want to access Web API directly, but that might be too much troubles and I'm not sure you'll really be able to see any performance improvement.

  • Suggested answer
    PranavShroti Profile Picture
    4,510 on at

    Hi Bala,

    If you are using server side code like CRM object model, then it will be first converted to FetchXML first and then executed, so writing FetchXML would be faster as it saves one conversion step.

    WebAPI is the way forward, as MS will soon be deprecating OData endpoints.

    Regards,

    Pranav

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.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans