Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, PowerApps, Microsoft Flow, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates to Dynamics 365Release overview guides and videos Release Plan | Early Access Availability
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 | Talent TechTalks | Upcoming TechTalks
In the previous post, I was explaining about Hierarchy Relationship in CRM 2015, as we know we can have now I am explaining how to Configure the Hierarchy Relationship Setting for Custom Entity.
Now let’s configure it!
Let’s create a custom entity, I create a custom entity, so-called as ‘Project’
To make this scenario more complex and interested, let’s we create additional fields, such as Project Amount and Customer (Account). Thus, we can use those fields to show in the form.
Now, create the Relationship and make sure it is a self-referential relationship, it means that a relationship with Primary entity and the Child entity are the same entity.
And make sure you set the Hierarchical to ‘Yes’, it is very important.
Now, go to the next setting, there is ‘Hierarchy Settings’ and Create New.
Now it will open a new windows allowing you to create only one new Hierarchy Setting and you are required to give name and choose default Quick View Form, if you don’t have this Form, then you should create at least one Quick View Form.
Put the important fields into the Form.
You can create more than 1 Quick View Form, but you need only one default form.
*Remember in this post, we can only display 4 fields shown in the each diagram shape block, to display more info you can achieve this by switching the Form, so we need to create multiple Quick View Forms to achieve this and choose one as the default.
And check this:
It should show ‘True’.
After you published, it is the time to create the hierarchical data, before that make sure you have configured all the important fields in to the Main Form.
After you create several data with parent-child relationship enable, you can see the View Hierarchy upon you saved it.
View All Data
Now, let’s see the visualization.
You can see the hierarchy of the Project in each record perspective, either from the top one, the middle level, or the lowest level, you can select and jump to another related record in line.
In the left side is the tree view which you can Expand and Collapse.
In the Center is the Hierarchy Diagram.
And if you select the record, as usual plus contextual it will allow you to perform some actions defined in the Ribbon/Command Bar
Well, it is a nice visualization from Out of the Box functionality, now I want to make it more beautiful by adding pictures.
First of all, you need to enable the Entity Image that was first time introduced in CRM 2013.Go to the Entity detail and enable the Entity Image by creating a new image field. And go to the Form display propertiesCheck the ‘Show image in the form’ checkboxSave it and do not forget to publish it.
And Now you should add the Image, in this example is the image of the Project Manager, update your data and get back to see your result.
Hope this helps you!Thanks.
Business Applications communities