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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

FetchXML or Query By Expression

(0) ShareShare
ReportReport
Posted on by 821

When developing my plugins I prefer to just uses FetchXml FetchExpression but other use QueryExpression.. Should I be bothered or should I jus keep using  FetchExpression  regardless of the simplicity or complexity of the query.

Thanks in advance G

I have the same question (0)
  • Suggested answer
    Marco.P Profile Picture
    2,405 on at

    Hi,

    take a look at this article from MVP Stephan Smith:

    https://www.linkedin.com/pulse/dynamics-365-crm-why-you-should-say-fetchxml-your-codebase-smith

    Check the article and all comments made by other users, it will help you to "make up your own mind".

    Hope it helps, 

    Marco

  • Suggested answer
    meelamri Profile Picture
    13,216 User Group Leader on at

    Hi, 

    Concretely, QueryExpression generate behind fetchXml. You can use tools to convert your fetchXml into a QueryExpression. My favorite tool is fetchXmlbuiler available on XrmToolBox.

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    It's up to you what to use during building of code. Personally I prefer QueryExpression/QueryByAttribute but it's just my personal preference.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 137 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 57

#3
Jimmy Passeti Profile Picture

Jimmy Passeti 50 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans