You need to sign in to do that
Don't have an account?
kcnmahesh
How to deactivate or delete an apex class from Production
Hi..,
I want to changeone field type in production in an object.
But its referred in apex class , which is deployed into production.
And that field is a required field and also this field is referred in Other formula fields.
So How can i deactivate that apex class or delete that one to change field type.....?
Can anyone help me plz.....?
Hi,
Use eclipse for this and inside the metadata of class make it inactive and then deploy in the production.
Another way is delete the code from the class and deploy the class in production org.
Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.
Thanks Navatar for your reply...
I deleted the code from apex class.
But while moving to production its showing error message regarding test class.
Then what i have to do for that test class....?