Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Entity Relationship Diagram for D365 Environment - Marketing Specifically

(0) ShareShare
ReportReport
Posted on by 20

I'm having trouble finding any resources online that articulate how all of the Sales Hub marketing tables are related to each other in order to build a Power BI dashboard to analyze Marketing data.

The tables I'm trying to relate to each other are:

  • Campaign
  • List
  • ListMember
  • CampaignItem
  • CampaignActivityItem
  • CampaignActivity
  • ActivityPointer
  • Contacts

I feel there has to be some resource available that would show how these tables are related to each other. I.e. Campaign (campaignid) is used to relate to CampaignItem (campaignid), CampaignItem (entityid) is used to relate to CampaignActivityItem (itemid), etc.

The main goal through all of this is to associate a Contact name to a Campaign activity so that we can see all Contacts that are a part of a campaign, however I'm able to do that.

Thanks,

Gupgup

  • Suggested answer
    Nya Profile Picture
    Nya 29,058 on at
    RE: Entity Relationship Diagram for D365 Environment - Marketing Specifically

    Hi, Gupgup

    You can find the Entity Relationship Diagram by checking the relationships of each entity.

    1. Open your app and go to Advanced Settings > Settings > Customization > Customizations > Customize the system.

     12032.png

    1. Find a specific entity and expand it. E.g. Contact, click the 3 types of relationships

     7367.png

    1. Find the other entity in the list.

     52332.png

    1. Double click it and you can see the 1: N relationship between Contact and Campaign Response is based on the field ‘regardingobjectid’.

     255336.png

    1. Find the relationships of Campaign Response in the same way.

    There are two N:1 relationships for Campaign Response, which are with Campaign and Campaign Activity. The related fields are both ‘regardingobjectid’.

    88544.png

     

    You can find the relationship of each Entity in the above way.

    There is another way to find the default relationships of OOB entities by looking up the Web API documentation of entity.

    e.g: Campaign Activity Item

    https://docs.microsoft.com/en-us/dynamics365/customer-engagement/web-api/campaignactivityitem?view=dynamics-ce-odata-9

     

    If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may in turn help others as well.

    Best Regards,

    Nya

  • Gupgup Profile Picture
    Gupgup 20 on at
    RE: Entity Relationship Diagram for D365 Environment - Marketing Specifically

    I forgot to include that this question pertains solely to the Marketing entities/features that are available through the Sales subscription, not the additional Marketing add-on subscription.

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

Congratulations 2024 Spotlight Honorees!

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December!

Congratulations to our December super stars! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,684 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,414 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans