QuestionQ73

VerifiedData Modeling

Universal Containers is developing a Salesforce application to track Contacts and the Conferences they have attended, with these requirements:

  1. Contacts are stored in the standard Contact object.
  2. Conferences are stored in a custom Conference__c object.
  3. Each Contact can attend multiple Conferences, and each Conference can be associated with multiple Contacts.

How should a data architect model the relationship between the Contact and Conference__c objects?

Explanation

A many-to-many relationship in Salesforce is modeled with a junction object. Each junction record represents one Contact–Conference attendance and has master-detail relationships to both Contact and Conference__c, allowing each Contact and each Conference to be associated with multiple records on the other side.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!