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
Abhishek AS 3Abhishek AS 3 

I want to create a custom button on list view page using visual force page to update mass records of account and also I want to hide that button from certain users. How can I achieve it using code

I want to create a custom button on list view page using visual force page to update mass records of account and also I want to hide that button from certain users. How can I achieve it using code
Vivek   9Vivek 9
https://help.salesforce.com/s/articleView?id=000333302&type=1
Vivek   9Vivek 9

After creating the custom button you can add it to the search layout of the object

I would create an apex batch to update mass records