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
dai tran 6dai tran 6 

How can copy database from salesforce developer to salesforce production?

I create a website in salesforce developer.
How can copy struct of database from salesforce developer to salesforce production?
Or have to create again in salesforce production?
balaji Jayararmanbalaji Jayararman
Hi, 

You can create managed package with the components you build in developer org and install it in the production org.

For more information about managed package. Please refer the below link.
https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/packaging_uploading.htm

Please mark it as best answer if it helps.

Thanks,
Balaji J
balaji Jayararmanbalaji Jayararman
You can also use changeset to move the components from developer org to the production org. Please refer the below link about the changeset.
https://developer.salesforce.com/docs/atlas.en-us.dev_lifecycle.meta/dev_lifecycle/creating_outbound_changeset.htm
Ajay K DubediAjay K Dubedi
Hi Dai,

Please go through the below steps.

To process Change Set deployment from a Sandbox to a production org, follow the instructions listed below:

Step 1) Prepare your Sandbox org

 1. Log in to your sandbox.
 2. Click Setup | select App Setup | Outbound Change Sets.
 3. Click New.
 4. Enter the new Change Set and description, then click Save.
 5. From the "Change Set Components" related list, click Add.
 6. Add profiles to the Change Set for the Users you'd like to grant access.
 7. Select the "Component Type" for the component you want to deploy (for example, Apex class, Apex Trigger).
 8. Select the specific class or trigger name, then click Add to Change Set.
 9. From the "Change Set Detail" related list, click Upload, then select the target Organization as Production.
10. Click Upload.

After your upload has completed, you'll receive an email to confirm completion of your Change Set upload.

To complete the migration, an inbound change administrator can deploy the Change Set in the destination production organization.
 

Step 2) Complete the deployment in your production org
 


1. Click Setup | select App Setup | Inbound Change Sets.
2. Under "Change Sets Awaiting Deployment," click your Change Set's name.
3. Click Validate to validate your code. Note: For successful deployment you should have at least 75% code coverage.
4. Click Deploy.
 

If you receive a "Code Coverage" error during the deployment process, see the instructions listed in our "Code coverage steps and considerations prior to deployments" documentation.

If you found any problem the go through the below link.
https://trailhead.salesforce.com/en/modules/app_deployment/units/app_deployment_changesets

Please select as best answer if it helps you.

Thank You,
Ajay Dubedi