Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
I have a dashboard that displays a set of contacts and the contacts address. This was initially designed where the Address fields were on the contact entity and all was fine. We recently made a change and moved the Address fields to a new linked entity which contacts has a 1-n relationship with. Since the fields are no longer being entered on the contact the dashboard shows them as blank. When I update the View I can add the related Addresses table and filter on it and even add columns from the Address entity, however those fields are always blank.
I'm hoping someone can tell me if this is possible to do using a View or if there's another way to accomplish this.
In this example the contacts listed each have data in the county and school district fields in the Address entity but the columns are empty.
There seems to be some problem/ confusion. You cannot retrieve data from the child entity ion a view however you can retrieve the data if it is a N:1 i.e. lookup of Address entity on your contact entity.
I think you do have a lookup of address entity on Contact entity and while creating a view you are selecting fields from that. Now cause that lookup is blank, you are getting blank values.
Think it like this-
Now views can retrieves only unique records from the main entity(in your case it is contact). Based on the above data, you will expect results like below where C1 will be returned twice which is not supported by Views.
Hope this helps.
Thank you for your quick response. I think I'm stuck here. I'm guessing this won't matter but I'll mention it in just in case: the results I'm looking for wouldn't have duplicates, the filter is only looking for the Address that is marked as the 'Primary' Address, so the filter should filter out duplicates. Should I expect to see the fields in that scenario?
On your comment "however you can retrieve the data if it is a N:1 i.e. lookup of Address entity on your contact entity" I don't think I can query on the N:1 relationship between Addresses and contact because I have a second Entity (ProgramEnrollment) I am using as a filter like this:
contact 1:N with Addresses
contact 1:N with ProgramEnrollments
My view is to show contacts who have enrolled in a program this month and display the contacts name and address on the dashboard. Is there not a built in way to do this ?
You can not show multiple link or related records for a parent records , this is a limitation.
I agreed with Ravi's suggeation.The only possibility is to create a new address lookup in contact entity , which tells you which is the primary address for the contact. Once you create the lookup you need to update all the contact with filling primary address.
So now for test go to advanced find select ProgramEnrollments entity and then under related choose contact entity . Add the contact column what you need .
Again under contact now you can see another address entity with primary address. Select that and choose the address fields.
As you mentioned that you want to display only the primary address, I agree with Goutam's suggestion above to create the lookup of your address entity on Contact entity and then display details from that. It is similar to what we have currently out of box between Account & Contacts i.e. Account can have multiple Contacts but can have one Primary Contact...
Hope this helps. you.
Business Applications communities