You need to sign in to do that
Don't have an account?
Deployment from Developer account to Group Account
Hi all, straight to the point. I am a php and javascript developer with 10+ years in the field. I was asked as a favor to do some work for a company using salesforce.
I created a developers account, learned and figured out how to write the apex classes, visualforce pages, and custom objects needed to accomplish what I was asked to do.
There is a drupal install on a website I own, that acts as an intermideary between salesforce and twilio sms services, and mailchimp email service.
EVERYTHING works, I have completed the job, if the company I did this for used my developer account. Obviously thats not an option, and I am having one hell of a time finding the proper way to migrate/deploy all the apex classes, custom visualforce pages, and custom objects to the group edition account of the prinicipal company
PLEASE, ive spent 15+ hours working thru examples, running into walls, finding many non-working answers.. Someone please point me in the right direction here.
Thank you!
Jason
Hello Jason,
Usually we either use Eclipse with the Force.com plugin or ANT migration tool to do deployments between orgs and to Production orgs.
Please note that all unit tests must be succesfull and cover 75% or more of Apex code during deployment to a Production Org.
Please let me know if you tried this, and if so why deployment wasn't succesfull so I can assist you more.
Rami
Steps to deploy from Sandbox to Production from within Salesforce:
- Go to (Setup > Deploy > Outbound Change Sets) and click (New) within your developer sandbox
- Under “Change Set Components” click (Add)
- Under “Component Type:” select Trigger/Class to open the component
- Select the trigger(s) and Class(es) you created, and click (Add to Change Set) from each component
- Click (Upload) and confirm upload is final
- Wait for screen refresh to say “Your change set was uploaded successfully.”
- Return to production org
- Go to (Setup > Deploy > Inbound Change Sets)
- Select change set just sent
- Refresh screen using browser, confirm under “Deployment History” action status says “Succeeded”
- Click (Deploy)
- Refresh screen using browser, confirm under “Deployment History” action status says “Succeeded”
- Confirm Trigger deployed, go to (Setup > Build > Customize > Contacts > Triggers), find trigger deployed
If your Sandbox is not setup with a Green arrow to deploy to production be sure to go into Deploy > Deployment Settings within Production Environment Setup menu and setup your Dev environment as a link to deploy into Production.Rami, thank you very much.
I was able to install ant and the ant migration tool, retrieve everything, create a proper manifest and deployed successfully to a clean dev account, everything worked!!
So I went to deploy to the account of company that paid me to get all this done, and ran into an issue "API is not enabled for this Organization"
I cant turn it on anywhere. The account uses a Group Edition licence, under users there is no profile link like on my dev account, and all the permissions I can find the touch the api are on for me.
Is there something else I can do to turn on the api?
Or if I make everything into a managed package would that help (more learning curve tho)?
Thank you, your answer got me almost to the end, now to figure out this last hurdle.