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
upHeikoupHeiko 

Mass Update custom field on a custom object

Hello together,

I hope some one can help me with a mass update button.

In our org, EE, is created a custom object, with name "Archiv".
In this is a custom field "city" (typ pick up) with two terms.
One of this terms is default.
If I will change a lot of saved objects, I can´t do this manually.
I think it is possible with an Mass Update Button but I don´t now a solution.
How can I create this or have anybody a code or another solution?

This is for the employees, so I can´t do this with data loader.

Thank you.
 
Phil WeinmeisterPhil Weinmeister
Hi upHeiko,

You could create a solution in Visual Workflow to update multiple records and tie that to a custom button. Here's some more detail on that: https://success.salesforce.com/answers?id=90630000000hPgfAAE

Thanks,
Phil
pbattissonpbattisson
A possible solution is to have a button on the list page for the object which opens up a custom visualforce page utilising the standard set controller. The page could have an action function which calls a batch apex class to enable you to perform the updates you need and set the correct values on the records.