+ Start a Discussion
Bhola VishwakarmaBhola Vishwakarma 

how to deploy form sandbox to production

how to deploy form sandbox to production please help

is any shortest way to that



Change sets are the best way to achieve this in my opinion.  You create one from the UI via the setup pages, then pick which elements (objects, fields, classes) etc you want to add.  When you are ready you upload it to the target organization.


You can also add profiles to the change set, which will pull in only the profile aspects that pertain to the elements in the change set, which is cool.


Easiest way will be by ChangeSet or by using eclipse. 

Bhola VishwakarmaBhola Vishwakarma

great thankx to your rpl


hiiiiiiiii prasu do u know how to do it by using ant so that i can deploy my application from sandbox to production. so please tell me the way i am new  to apex



Bhola VishwakarmaBhola Vishwakarma

i want to do it by ant bob so please help me out


Bhola VishwakarmaBhola Vishwakarma

what is the reason behind to deploy by using ant


Bhola VishwakarmaBhola Vishwakarma

what is UI and please give me the steps that so i can deploy my objects and classes to production



You'd deploy using ant if you wanted to script the deployment - e.g. its something you do regularly or are going to do repeatedly.


You can create change sets via the UI from Setup -> App Setup -> Deploy -> Outbound Change Sets.


There's plenty of information in the online help about this.


does it requires to write test cases also...