I have added a Named Credential component into My Managed Package List and not able to delete it from the Managed Package list or within the Organization. I have raised a case to delete those components from Managed Package but My team is planning to deploy all the components into a new org and create a new managed Package. May I know how can we deploy all those components without any connection b/w the Orgs? How long it takes and what needs to be tested?
1 Answer
You just need a tool like VS Code or even just use Salesforce DX directly. You can use the Package Retrieve to get the contents of the package, then deploy it to the new org. Here's DX:
sfdx force:source:retrieve -n "Managed Package Name" -u sourceOrg
And then:
sfdx force:source:deploy -p force-app/ -u destOrg
-
+1, and also: this is a great opportunity to make the critical move to source-based development of this managed package.– David Reed ♦Feb 19, 2021 at 20:08