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

Filtered option-sets on custom entity fields

(0) ShareShare
ReportReport
Posted on by 75

Hi Community,

I have two custom entities 'Location' and 'Clinical Office Location'. Location consists of master data of countries, states, suburbs, postcodes, latitude and longitude. This is populated as a one-off activity (which may involve additions/updates at a later stage, but not that frequent).

On the 'Clinical Office Location' entity, I have Country field as a lookup to the Country master. The State and Suburb fields are empty option-sets that need to be populated based on the Country chosen. State and Suburb are not entities, but fields in the 'Location' entity.

So, as an example, when I choose Australia as the country, I need to populate the State field with all Australian states from the Location entity and subsequently the Suburbs based on the State chosen. It doesn't seem that easy to do so in D365 for such a basic requirement.

Any help is appreciated.

Thanks,

Dominic.

I have the same question (0)
  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello Dominic,

    The easiest way for you if you don't want to write any code - create entities country, state, city e.t.c. and build relations between it. Add lookups to your entity that reference mentioned entities. To organize filtration that is based on record selected you can use OOB lookup filtering.

    Good luck.

  • Dynamics4Dom Profile Picture
    75 on at

    Thanks Andrew.

    I was moving towards this same approach, but wanted to confirm if there was any other way prior to doing so.

    Cheers,

    Dominic.

  • LuHao Profile Picture
    40,892 on at

    Hi Dominic,

    In addition, you can also install the POWERAPPS component to your organization using PCF.GALLERY.

    PCF.GALLERY has a tool AddressFinder Australian Addresses that automatically populates Australian addresses.

    It does not need to encode or configure additional entities.

    For how to install POWERAPPS components from PCF.GALLERY to your organization, please refer to this blog.

    https://carldesouza.com/how-to-install-powerapps-components-from-pcf-gallery-to-your-org/

    This is the download address for AddressFinder Australian Addresses.

    https://pcf.gallery/addressfinder-australian-addresses/

  • Dynamics4Dom Profile Picture
    75 on at

    Thanks for your reply Hao. We actually don't have a requirement for validating Australian addresses plus the API comes at a price.

    What we need is a cascading option-set (or lookup) functionality of Country > State > Suburb > Postcode. We may probably go the way suggested by Andrew which involves configuration and no code.

    Thanks,

    Dominic.

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

These are the community rock stars!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
11manish Profile Picture

11manish 166

#2
ManoVerse Profile Picture

ManoVerse 54 Super User 2026 Season 1

#3
Niki Patel Profile Picture

Niki Patel 40

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans