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 :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested Answer

"0x80041103 Query Builder Error" on subgrid where fetch xml contains order and link entity tags

(0) ShareShare
ReportReport
Posted on by 50

Hi everyone,

I modified manually fecthxml in a saved query inside the customization.xml file because i need to order by attributes retrieved using link-entity .

After this change, even if the query is correct , not always but often, when records have a change, in the subgrid the error message "0x80041103 query build error" shows up  . Following image represents the error.

query-builder-error.png

What are guidelines to construct Fetch xml query for views of entities?

Or the problem is in the view layout?

Thanks in advance

Eugenia

I have the same question (0)
  • Suggested answer
    LeoAlt Profile Picture
    16,331 Moderator on at

    Hi partner,

    Since you want to order your records in subgrid by link-entity attributes, why don't you add the attributes into the column directly?

    For example, I have a contact subgrid on account form as we know, and I want to order the contacts by the related leads created on time. So I add the lead created on time attribute as a column in contact associated view.

    pastedimage1585105807811v1.png

    Save and publish.

    We could see that the column has been added to subgrid successfully and we could order the list by this field directly.

    pastedimage1585105956654v2.png

    If you still want to use fetch xml, I recommend you to raise a ticket to Microsoft and let the engineers help you on the server side.

    Regards,

    Leo

  • Eugenia Tenneriello Profile Picture
    50 on at

    Thanks Leo

    but changing columns doesn't fit the user requirements.

    Regards

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 > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Martin Dráb Profile Picture

Martin Dráb 60 Most Valuable Professional

#2
#ManoVerse Profile Picture

#ManoVerse 51

#3
Satyam Prakash Profile Picture

Satyam Prakash 42

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans