An app builder is creating a custom object called Testimonial__c and wants to connect Testimonial__c records with both the submitter's
Contact record and Account record. If the Account is deleted, the Testimonial__c should also be deleted. If the Contact is deleted, but the
Account remains, the Testimonial__c should remain.
How should this be accomplished?
- Make both the Contact and Account fields required on the Testimonial__c object and create lookup relationships from
Testimonial__c to Contact and to Account. - Create a master-detail relationship from Testimonial__c to Account and a lookup relationship from Testimonial__c to Contact.
- Make Testimonial__c a junction object between Account and Contact using master-detail relationships.
- Create a lookup relationship from Testimonial__c to Account and a master-detail relationship from Testimonial__c to Contact.
Reveal Solution Next Question