Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Set null value in Filter Lookup field in dynamic 365

Posted on by 5

In my D365 Project I want to set "No Record Found" in filter lookup field.

I have created lookup field. In that field I called JavaScript and filter that lookup which is working properly but when records are empty it was showing error like "0x80041103 Query Builder Error". When I check fetch xml in 'fetch Xml Tester' it was showing 0 records but it's shows error on lookup field...

  • Suggested answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Set null value in Filter Lookup field in dynamic 365

    Hi mahreenimitiaz,

    Please provide your code for further research. And there is a similar thread, you could have a look:

    javascript - How to resolve Query Builder Error in custom filtering of Lookup field? - Stack Overflow

  • RE: Set null value in Filter Lookup field in dynamic 365

    Hello mahereenimitiaz,

    it's hard to understand the request without the code, you might have a look to this documentation that explains how the addCustomFilter works with samples docs.microsoft.com/.../addcustomfilter

    Regards,

    Amira

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans