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
Frank JordanFrank Jordan 

Button with class to update record owner

I have a formula field that contains a button and when the button is pressed depending on the value of another field, i would like the owner to change to a queue. I'm having trouble writing the class that goes along with this button. can anyone help? I would like it to be similar to the button below (within the field)
User-added image
User-added image

 
Balaji BondarBalaji Bondar
Hi Frank,
Call Visual force page on click of custom button.Write a controller with constructor with the required logic.

Important :
If this is what you were looking for then please mark it as a "SOLUTION" or You can Click on the "Like" Button if this was beneficial for you.