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
mengelmengel 

How to invoke sharing rules on a custom button ?

Hi,
We have a custom button that does a call to an external application utilizing OnClick JavaScript.
I want to be certain the user logged in has access to edit the opportunity when this option is launched similar to the edit button.
What do I need to do to invoke that test of the sharing settings?
Thanks
Any advice is appreciated. 
Jackie

 

We really need a solution for this - will adding a public class with Sharing invoke the sharing rules?