Microsoft Dynamics CRM 2013 – Display one or more Fields from one Entity Form on Another

Let’s say you want to show a few fields from one entity form on another. For example, your sales people would like to see the Relationship type of the parent Account, on a Contact form – a detail that saves the sales people the extra clicks of having to switch to the Account form to check.

In CRM 2011, this required customization (scripting) to accomplish this task. In CRM 2013/2015, this can be accomplished by creating a new entity form under the Account – Relationship Type View. This new mini-form can then be brought into the Contact form. When the user views the Contact form, the current values for the fields from the mini-form will be displayed.

In the example below, we have a company (very originally) named “CRMTEST”.  CRMTEST company has Accounts in their CRM that are Grocery Suppliers, Non-perishable Suppliers and Office Supplies Vendors. Currently, their Contact form shows the details about the contact, including the parent company, but does not show the relationship type of the contact’s employer. The users at CRMTEST want to see the type of company shown on the contact form to save the extra click to view the parent company for that information.

Account form with Account Relationship field circled:

account1

 

Contact form showing Company Name, but no information about the relationship type:

contact2So, how do we bring the Relationship Type field from the parent Company onto the Contact form?  It’s just a a few steps!

First, go into the customizations area and edit the Account Views and create a Quick Create Form:

quickviewform3

 

On the Quick View Form, add in the Account Relationship Type field, save, close and publish the changes:

quickviewform4

 

Then, go to the forms area under the Contact entity, open the main form, and from the ribbon menu, select Insert > Quick View Form. Fill in the Quick View Control Properties to show the Related Entity = Account and Quick View Form created in the last step.

insertquickviewform

quickview5

contactform6Verify that the new field is now placed on the Contact form, save and publish.

Now go back to one of the contacts, view the form with the new field:

contact7

Beringer Associates is always here to provide expert knowledge in topics like these. Beringer Associates a leading Microsoft Gold Certified Partner specializing in Microsoft Dynamics CRM and CRM for Distribution. We also provide expert managed IT services, cloud based computing and unified communication systems.

15 thoughts on “Microsoft Dynamics CRM 2013 – Display one or more Fields from one Entity Form on Another”

  1. Hello,
    Thank you very much for posting this - I used it to create a special contact view that shows the relationship type. However, my preferred choice was to create a view that shows only Customer (vs prospect or other type of contact), but when I tried to add the Relationship Type to the filter it was not available in the drop down with all the account related fields. How can I add the Relationship Type as one of the filters in my view?
    Thank you for your help in advance,
    Elena

    1. Hi Elena:

      I have seen this issue before, as well as discussed with team members. Without knowing how your system is configured, I can suggest a few possible solutions.

      1. Republish the Contact entity i.e. where you cannot see the “Relationship Type” field through the advanced find.
      2. Check under Customizations > Contact > Relationship Type verify that the field is set as “searchable”.
      3. Construct your search in a different way – for example search on Accounts that have Contacts with the specific Relationship Type value set. Or, find all Contacts– show the Relationship Type field as one of the columns on your search. Export to Excel to separate out the records that have the Relationship Type you are looking for.
      4. Go through report wizard to see if the field you want to filter with, is available on Contacts.

      -June

    1. I am not sure of a SQL query to look for ‘Areas that can display this entity’. Please provide some more context for the question. If you are referring to the navigation tiles where entity links are displayed, connecting to the Dynamics site with XRMToolBox SiteMap Editor might provide the information you are looking for.

      -June

    1. Hello Caleb:

      Does your Quick View form have extra lines before or after the fields on the form? Also, do the other parts of the form above and below where the Quick View was inserted have extra lines or space that is not filled in?

      -June
      JustDucky

  2. Hi
    I tried this but the field i wanted to bring through was a ROLLUP field. Whereas the rollup field has the correct value on another form for the linked entity, for the quick view form it always shows as empty...
    Mike

  3. The further answer is that this has not been expanded beyond self-referential relationships. Entity A can only be hierarchical to Entity A and Entity B can only be hierarchical to Entity B.

    🙁

  4. I sort of answered my own question. The answer is "you can" but you can only do it for a new relationship, because the "Hierarchical" option is grayed out for an existing relationship.

    This is very unfortunate as we have thousands of records already related and creating a new relationship for the hierarchical option would be very difficult to migrate over to the new relationship.

    Do you know of any way to get past this restriction?

  5. Can this be done for Custom Entities as well? I have 2 Custom Entities where Entity B is a Child of Entity A. IS there a way to display Entity A information on a Form for Entity B?

    Gerry

  6. This blog is really helpful, but i stuck in to get the value of quick view form which i am displaying in child form . can you please help me out in this

  7. In the third screenshot of this post, you say to create a "Quick Create" form, but you have "Quick View" form circled. I think the instructions should say "QUick View?"

Comments are closed.

Show Buttons
Hide Buttons