PDII · Question #398
Universal Containers wants to use a Customer Community with Customer Community Plus licenses so their customers can track how many containers they are renting and when they are due back. Many of…
The correct answer is D. An Apex Trigger that creates Apex Managed Sharing records based on the junction object's. https://developer.salesforce.com/docs/atlas.en- us.200.0.apexcode.meta/apexcode/apex_bulk_sharing_creating_with_apex.htm
Question
Universal Containers wants to use a Customer Community with Customer Community Plus licenses so their customers can track how many containers they are renting and when they are due back. Many of their customers are global companies with complex Account hierarchies, representing various departments within the same organization. One of the requirements is that certain community users within the same Account hierarchy be able to see several departments' containers, based on a junction object that relates the Contact to the various Account records that represent the departments. Which solution solves these requirements?
Options
- AA Visualforce page that uses a Custom Controller that specifies without sharing to expose the
- BA Custom List View on the junction object with filters that will show the proper records based on
- CA Custom Report Type and a report Lightning Component on the Community Home Page
- DAn Apex Trigger that creates Apex Managed Sharing records based on the junction object's
How the community answered
(52 responses)- A10% (5)
- B4% (2)
- C2% (1)
- D85% (44)
Explanation
https://developer.salesforce.com/docs/atlas.en- us.200.0.apexcode.meta/apexcode/apex_bulk_sharing_creating_with_apex.htm
Topics
Community Discussion
No community discussion yet for this question.