+ Start a Discussion
beener3beener3 

How to change code version

Hi All.

 

I couldn't find any reference to how to upgrade my code.

Editing code on the IDE, saving successfully and redeploying doesn't seem to do the trick.

 

Do I need to change the metadatafile?

Can I just type 18?

 

Thanks.

 

Ben

Best Answer chosen by Admin (Salesforce Developers) 
asadimasadim

I'm assuming you want to change the API version? If so then you can either do it through the Eclipse plug-in (just type in the version # in the meta-data e.g. 18.0) or through the UI under Version Settings of your Apex class (choose from the API dropdown).