A company uses a custom object named Course_Feedback__c to track feedback provided by employees for training courses managed in a custom object named Training_Course__c. Management has specified two key operational requirements:
1. If a Training_Course__c record is deleted, all associated Course_Feedback__c records must be automatically removed from the system.
2. Administrators must display the total count of feedback submissions directly on the Training_Course__c detail page using standard declarative functionality.
Which two configuration steps should the Salesforce Administrator perform to satisfy these requirements? (Select 2 answers)
- Create a Master-Detail relationship field on the Course_Feedback__c object that references the Training_Course__c object.Cevap
- Create a Roll-Up Summary field on the Training_Course__c object to aggregate the total count of related Course_Feedback__c records.Cevap
- CCreate a Lookup relationship field on the Course_Feedback__c object and configure a Roll-Up Summary field on the Training_Course__c object.
- DCreate a Lookup relationship field on the Course_Feedback__c object with the 'Clear the value of this field' deletion option selected.
Cevap
The administrator must create a Master-Detail relationship field on Course_Feedback__c pointing to Training_Course__c, and create a Roll-Up Summary field on Training_Course__c using the COUNT function.
To satisfy both requirements natively in Salesforce without code, a Master-Detail relationship must be established on the detail object (Course_Feedback__c). This automatically enforces cascading deletion of feedback records whenever a training course is deleted. Additionally, establishing a Master-Detail relationship enables the creation of a standard Roll-Up Summary field on the master object (Training_Course__c) to count related feedback records.
Adım Adım Çözüm
Anahtar Kavram
Master-Detail Relationship Capabilities and Roll-Up Summary Field Requirements