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 :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Look-up field' value disappears upon re-opening

(1) ShareShare
ReportReport
Posted on by 15
Hello everyone, I've been trying to find a solution for this annoying error for a few weeks with no luck, and I'm hoping you can help me! 
 
I have a lookup field that gets filtered out based on its parent field's selection, and it's working fine at record creation/initial save. 
 
However once I reopen the created record, the saved value shows up for a split second before disappearing (as seen in the video).
 
Any idea what's wrong here? I'm totally out of ideas.. 
 
Thanks! 
I have the same question (0)
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at
    Hello User,
     
     
    It’s possible that the issue is occurring because the parent lookup field is being filtered without handling null conditions.
     
    To resolve this, please consider adding the following condition to your logic:
     
    1. If both fields contain data, skip the filtering for the child lookup field.
    2. Additionally, if you have filtered the lookup on Form Load then ensure this logic is applied on Form Load as well.
     
    Thank you,
    Amit Katariya
  • KE-25091748-0 Profile Picture
    15 on at
    Thank you, Amit! 
     
    I managed to fix the issue by removing the custom lookup component that I was using, now everything is working well. 
     
    However, since you mentioned it, I'll take a look at the filter on form load to see if it's gonna fix the issue.. any tips where to start looking for this? I don't remember seeing a place with such option. 
     
    Thanks again. 
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at
    If you are using D365 CRM then this article will help you regarding to form onLoad event.
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Moderator on at
    If there is a parent child relationship between this lookups then you can use OOB Lookup filtering which will show related records of the parent lookup.
  • KE-25091748-0 Profile Picture
    15 on at
    Thanks! I have setup the filtering and it works well; I just don't really like the way the OOB lookup component works, I was looking for a simple dropdown menu that does the job, and hence used this PCF
     
    Lookup as Dropdown
     
    It looks great, and one of the 2 dropdowns I used it on work perfectly (the parent one), while the child doesn't.

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 April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 101 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 72

#3
Muhammad Shahzad Shafique Profile Picture

Muhammad Shahzad Sh... 69 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans