I will update Salesforce for the first time.

If I update my sandbox after upgrading Salesforce, will ApexClass and LightningComponent disappear?

What should I do to keep the program from disappearing?

Thank you.

| improve this question | | | | |
  • 1
    You mean refresh your sandbox when you say update? – sanket kumar Jul 3 '19 at 8:49
  • @sanketkumar yes. I want to use summer'19. By upgrading Salesforce and refreshing the sandbox, I can develop with the latest version. Am I wrong? thank you. – S Kawasaki Jul 3 '19 at 9:11

All the org already been upgraded to summer 19 by now. If you want fresh metadata from your target org, off course you can refresh it. It will replace your existing metadata, so you need to take backup of your apex classes and Lightning Component before refresh. Or you will loose it.

Read more here:- Create, Clone, or Refresh a Sandbox

| improve this answer | | | | |
  • thank you for your kindness!! – S Kawasaki Jul 4 '19 at 0:11

When you refresh a sandbox it will make a copy of either your production org or another Sandbox. I recommend using something like Github as the place where your codebase lives and not your production org.

Then you can refresh a sandbox, clone your git repo and deploy your work in the sandbox or scratch org.

| improve this answer | | | | |
  • thank you for your kindness!! – S Kawasaki Jul 4 '19 at 0:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.