Ask Search:
Tom CTom C 

How to move metadata from Beta Package org to Release Package org?

I’m building an app.  App looks good in my Development Org (and in a Test Org created from the Development Org's managed package).

Now I want to move it to a “Golden Package Org” as discussed in this Trailhead module:  https://trailhead.salesforce.com/en/content/learn/modules/isv_app_development/isv_app_development_landscape 

I created a package.xml file using this tool: https://packagebuilder.herokuapp.com/ 

Then I used the package.xml file and the ANT Migration tool’s retrieveUnpackaged command to download metadata locally.  That worked.

Then I ran the deployUnpackaged command, got hundreds of errors, and the deployment failed.

Here’s a link to my error log: https://drive.google.com/file/d/1W7VdLK5xDCvDuTLyQgBJrlacik4iao7h/view?usp=sharing 

Can anyone let me know where I’m going wrong? 

And/or if there's an easier way than ANT to get changes from my Development Org to a Golden Package Org?  I could create the release managed package from the Development Org but I had a different namespace prefix in mind for the finished product and would rather keep Development and Packaging orgs separate.

Thanks in advance!
Best Answer chosen by Tom C
Tom CTom C
Pavan and Roushan, thanks for reaching out.

Some people in the Partner Community told me that the approach suggested in the linked Trailhead module was not ideal.  

I was directred to this Building Managed Packages with Salesforce DX tutorial instead: https://sfdx-isv.github.io/sfdx-workshop/

I thnk that will allow me to move and deploy my package.  But if I need any more help then I'll reach out.

All Answers

Pavan Kumar KajaPavan Kumar Kaja
Hi Tom,

You can reach out to me pavanthetech@gmail.com
Roushan kumarRoushan kumar
Hi Tom, I can help you with this one. 
https://www.linkedin.com/in/roushansalesforce/ 
roushan@bugendaitech.com
  
Tom CTom C
Pavan and Roushan, thanks for reaching out.

Some people in the Partner Community told me that the approach suggested in the linked Trailhead module was not ideal.  

I was directred to this Building Managed Packages with Salesforce DX tutorial instead: https://sfdx-isv.github.io/sfdx-workshop/

I thnk that will allow me to move and deploy my package.  But if I need any more help then I'll reach out.
This was selected as the best answer