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
madhumadhu 

click on button method declared as private

There is a button on the standard page layout and and if we click on that button method will call in some sontroller. if the method access modiefier declared as private.is that will  method call or we will get any error if it is declared as a private.  what will happen if it is a public and global????
bob_buzzardbob_buzzard
How will you tie the button to the method?  As this is a standard page you can't just tie it to a visualforce controller.