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
Bryan Lester 5Bryan Lester 5 

How to automate activating a list of contacts

Hello, I am curious how to make a apex controller or script to automate an activation process ( for over 900 contacts in a list)

User-added image
Here is the button I am trying to automate 

User-added image

Any help will be greatly appreciated! 

Thank you,

Tony.
Best Answer chosen by Bryan Lester 5
pranab khatuapranab khatua
Hi,

Please follow the link http://tutorial.relationwith.com/others/14/activating-a-list-of-contacts-in-salesforce-  (http://tutorial.relationwith.com/others/14/activating-a-list-of-contacts-in-salesforce- 

If you will get help this docs please give me Best Answer for this Post.

Thanks,

All Answers

pranab khatuapranab khatua
Hi,

Please follow the link http://tutorial.relationwith.com/others/14/activating-a-list-of-contacts-in-salesforce-  (http://tutorial.relationwith.com/others/14/activating-a-list-of-contacts-in-salesforce- 

If you will get help this docs please give me Best Answer for this Post.

Thanks,
This was selected as the best answer
Anthony GarandAnthony Garand
Thank you so much Pranab Khatua!
pranab khatuapranab khatua
Please give me Best Answer