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
VinHVinH 

Can you Update a Case object from a Custom Button or Link?

I want to create a Custom Button.  When this button is clicked, I’d like to write some code (Apex/Javascript?) that will update a Case object.

 

Can this be done using a Custom Button with Behavior set to “Execute Javascript”?  I don’t want to bring up another HTML window (like an S-Control).

 

If so, can someone point me to a code sample?

 

Thanx