PDI · Question #51
PDI Question #51: Real Exam Question with Answer & Explanation
The correct answer is D: Share the parent Case and Defect_c records.. To share a specific Case-Defect_c junction object record, sharing access must be granted to both of its parent Case and Defect_c records.
Question
A software company uses the following objects and relationships: - Case: to handle customer support issues - Defect_c: a custom object to represent known issues with the company's software - case_Defect__c: a junction object between Case and Defector to represent that a defect Is a customer issue What should be done to share a specific Case-Defect_c record with a user?
Options
- AShare the Case_Defect_c record.
- BShare the parent Case record.
- CShare the parent Defect_c record.
- DShare the parent Case and Defect_c records.
Explanation
To share a specific Case-Defect_c junction object record, sharing access must be granted to both of its parent Case and Defect_c records.
Common mistakes.
- A. Sharing the junction object directly is not the primary mechanism, as its access is inherently controlled by its parent masters in a master-detail relationship.
- B. Sharing only the parent Case record is insufficient as the junction object also has a master-detail relationship with Defect_c.
- C. Sharing only the parent Defect_c record is insufficient as the junction object also has a master-detail relationship with Case.
Concept tested. Junction object sharing model
Reference. https://help.salesforce.com/s/articleView?id=sf.dev_understanding_relationships.htm&type=5
Topics
Community Discussion
No community discussion yet for this question.