Study for the Salesforce Platform Developer Exam. Study with flashcards and multiple choice questions, each question has hints and explanations. Get ready for your exam!

Practice this question and more.


Which types of custom relationships can be built on the Force.com platform?

  1. Lookup

  2. Master-Detail

  3. Many-To-Many

  4. Self

The correct answer is: Lookup

On the Force.com platform, custom relationships are important for defining how different objects relate to each other in your Salesforce data model. The types of relationships that can be created include Lookup, Master-Detail, Many-To-Many, and Self. In the context of the question, the Lookup relationship is indeed one type of custom relationship that can be established. It creates a one-to-one relationship between two objects where one object can reference the other. This relationship is flexible; the referenced object can exist independently of the referencing object. This is beneficial when you want to establish a link between two objects without enforcing strict ownership, allowing records from the two objects to be related while maintaining their independence. Master-Detail relationships create a tighter connection between two objects. In this case, the master (parent) object controls certain behaviors of the detail (child) object, such as record ownership and deletion. While this is a commonly used relationship type, the question specifically asks about which types can be built, making Lookup a valid and correct answer. Many-To-Many relationships are established using a junction object that links two objects together. Although this is a valid relationship type on the platform, it is a more complex implementation involving multiple objects rather than a direct relationship between just two.