I am trying to limit the data that comes back in our regarding look up field.
I did some research, and found that you can filter it in on the form. See highlighted screen shot below.
When i go to my form, i dont have that option (second screen shot). Is there another way to do this? Any ideas why it doesnt show for me?
Hi nvrhughes,
In general, Each lookup field can show ‘Related Records Filtering’ section in 'Field Properties' dialog.
But Regarding field is one special lookup field, which will auto populate all those entities which support "Activities", and it can't show ‘Related Records Filtering’ section in 'Field Properties' dialog.
So only option is to add a pre search filter through code, you can refer following links:
addCustomFilter (Client API reference) in model-driven apps - Power Apps | Microsoft Docs(+) Add Custom Filter for Lookup in Dynamics CRM - Microsoft Dynamics 365 Community
Regards,
Leah Ju
Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156