Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 Community / Forums / Sales forum / Dynamics365 CRM New Or...
Sales forum
Suggested answer

Dynamics365 CRM New Org Chart (preview) errors because of missing fields

Posted on by 13
Hi team,
I'm exploring a preview of the new Org Charts functionality that's going to go live this October.
The feature looks really good, but I have a problem I can't resolve myself.

1. When I try to build and org chart and put a contact as a subordinate to another contact, I get a generic error, and by reading the trace log I found that I'm missing /parentcontactid/ field on my contact (we are using custom /Reports To/ field instead). I can't simply create a parentcontactid field on my Contact entity as it still be created with a default prefix of my environment, like /new_parentcontactid/. Meanwhile the old Org Chart works perfectly fine and when I'm setting contacts in the chart, our custom /Reports To/ field is updated with a new manager. Any ideas how to change the behavior of the new Org Chart to work with the custom field?

2. In the new Org Chart functionality there's an option to update a contact if the contact left the company, by using /Verify Contact Details/ form. When I open it and click /Update Contact/ button - it returns an error that the field is missing (with no details of which one is missing, but I assume that's still this /parentcontactid/ field). 

Any help on this topic is appreciated as I need to make sure once the new Org Chart is live it's fully functional.

Thank you!

 
Categories:
  • Ivan Zkhrv Profile Picture
    Ivan Zkhrv 13 on at
    Dynamics365 CRM New Org Chart (preview) errors because of missing fields
    Hello @RudyZhang,

    Thanks a lot for your reply. We already enabled it previously and have our hierarchy in place with all of the steps you described completed. Still the new org chart doesn't work on that relationship and our custom field (called "Reports To") - trace says the org chart requires system field called parentcontactid to build an org chart.

    Thank you!

    Regards,
    Ivan
     
  • Suggested answer
    RudyZhang Profile Picture
    RudyZhang Microsoft Employee on at
    Dynamics365 CRM New Org Chart (preview) errors because of missing fields
    Hi,
     
    Our team analyzed your requirements and according to the official documentation, if you want to use custom fields in your org chart, you need to create custom relationships.
    Here are some simple steps.
    Step1, go to "Advanced Settings", select "Customize System", choose "Contact" entity, and create "1:N". relationship

    Step2, select "Contact" as "Related Entity". Provide a name. Designate the relationship as "Hierarchical". Select "Yes" to "Hierarchical". Provide the display name of the access field.

    Step3, Navigate to Contact > Hierarchy_Settings and click New

    Then you can add "Parent Contact" field to forms
     
    The above mentioned steps are only abbreviated, for detailed steps please refer to the documentation in the link below.
    https://learn.microsoft.com/en-us/archive/blogs/lystavlen/how-to-enable-hierarchy-to-contacts-in-dynamics-crm-2015
     
     
     
    I hope my answer is helpful to you! If you have any other questions, please feel free to contact me.
     
    Best Regards,
    Rudy Zhang

Helpful resources

Quick Links

Dynamics 365 Community Update – Sep 9th

Welcome to the next edition of the Community Platform Update. This is a weekly…

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,246 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,041 Super User 2024 Season 2

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans