SupportCategory: Simple Object DesignerCreating New Sandbox from PROD. How do I move SOD .app file properly
it asked 1 month ago
Good afternoon, I typically do all my DEV in my Sandbox. However, my Sandbox is very out of date data wise and I would like to to copy my PROD environment to a new Sandbox.  What I am wondering is how do I move my SOD License and 'file' to the new Sandbox so I can continue my development there, with more relevant data? Thanks
3 Answers
Best Answer
it answered 1 month ago
Ok I figured this out. It turns out that the SOD in my new Sandbox was not registered. Once I registered it, the Import App button was enabled.  So 'Simple'... The process was pretty straight forward. I made sure all my environments were updated and published the latest version of my extension .app.  I then used the Export App to create a JSON file of my SOD Customizations. I then switched to my new sandbox environment, which was a copy of my PROD environment, and used the Import App to import the JSON file.  Finally, I refreshed the symbols, and it appears I am good to go.   Hope this helps someone else.
hougaard Staff replied 1 month ago

Most excellent!

it answered 1 month ago
I am assuming that I need to import either the .app or the .json that I was able to export from my old (current development environment) sandbox. However, the menu items are disabled when I open SOD in the new Sandbox. Any suggestions. Thanks.
Attachments
hougaard Staff replied 1 month ago

You have to input your license key. Your SOD license works for all environments on your tenant.

Chris Huovinen answered 6 days ago
I want to make sure I understand the flow of steps before I attempt this. I also do my SOD development in my Sandbox and upload the extension app file to my Production so I can easily keep my environments in sync. However, the SOD app in Production doesn't match my Sandbox since I'm not creating the objects in Production. Please confirm if this is the correct process to update my Production SOD app to reflect the current custom objects that are installed:
  1. Export app from Setup page in Sandbox 
  2. Import app in Setup page in Production
  3. Init New App in Setup page in Production (or is this necessary?)
hougaard Staff replied 6 days ago

This is my suggestion:
1. Develop app in SOD on sandbox
2. Upload “.app” to “Upload Extension” in extension management (this is the app file you get when doing publish in the sandbox)

Don’t even install SOD on your production environment.

Chris Huovinen replied 6 days ago

Yes that’s exactly what I’m doing when creating new objects. I should have clarified that I need to refresh my sandbox with production. What will happen to the SOD app when I do that? All the objects I have installed in production are not reflected in the SOD app?

hougaard Staff replied 6 days ago

So when you create a new sandbox (by copying prod to a sandbox), you install SOD and use “Import App” to import your latest .app back into the sandbox.

Chris Huovinen replied 6 days ago

OK, perfect. Thank you kindly!