function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SFDCCrystalCoSFDCCrystalCo 

Copying Opportunities for Force.com License Users

I created a trigger easily enough using the new Process Builder that creates a child custom object record from the original Opportunity.  

Great...

Now, how do we make this custom object record (which has a master-detail to the Opportunity) visible to a Force.com user who doesn't see Opportunities at all?

Is this even possible?

Thanks!
Best Answer chosen by SFDCCrystalCo
AbdelhakimAbdelhakim
Hi, 
You can create a helper class "without sharing" to get records you need

All Answers

AbdelhakimAbdelhakim
Hi, 
You can create a helper class "without sharing" to get records you need
This was selected as the best answer
SFDCCrystalCoSFDCCrystalCo
Thanks Abdelhakim.  By going this route does that mean the output must be displayed using Visualforce as well?
AbdelhakimAbdelhakim
Yes, exaclty
SFDCCrystalCoSFDCCrystalCo
Thanks - that wouldn't be our preferred route but it's probably the only option available.