Announcements
I have entity, country, state and city.
On basis of country i want state to get filter and based on state city look up get filter.
What is best way to achieve it.
All i could think of presearch on look up filter. Is there any no code structure or any other way
Hi Ravi,
Filtering lookups for 1:N and N:N relationships can be achieved without custom code by updating Related Records Filtering under Field Properties for the desired lookup.
How to Filter Lookups Without Custom Code in Dynamics 365 Customer Engagement (arbelatech.com)
Or you can use addCustomFilter() function to Filter the Lookup:
addCustomFilter (Client API reference) in model-driven apps - Power Apps | Microsoft Docs
Dynamics 365 - Filter lookup with FetchXML (and how to deal with invalid XML format) - Dyn365blog
André Arnaud de Cal...
294,099
Super User 2025 Season 1
Martin Dráb
232,866
Most Valuable Professional
nmaenpaa
101,158
Moderator