I have a custom field on the user object that I need to change from Field Type Text to Field Type Multi-Picklist.
The field is referenced more than 500 times in 25 Classes, Triggers and VisualForce Pages. To commit the change, I am about to fo the following:
- Comment all references of the field in classes, triggers and pages (sandbox)
- Change the field type
- Modify test classes to adjust to commented lines
- Deploy change to production environment
- Uncomment all reference to field in classes, triggers, and pages (sandbox)
- Revert changes done to test classes
- Deploy again to production
I am hoping there is a better way to do this. Any suggestions would be greatly appreciated.