function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Vijay N 18Vijay N 18 

Recover deleted custom fields from managed package

Hi,

I had given 2 formula fields on a opportunity to display Accounts billing & shipping addresses. I've got the access to delete the custom fields from Salesforce team.

Due to some requirement, I've deleted these 2 formula fields from Opportunity & created managed package of major release from my developer environment including these changes.

I've another environment where I've installed previous version of this managed package which has these formula fields. But when I upgrade to latest managed package (which doesn't have formula fields), I can still see formula fields on Opportunity. Though if I uninstall previous managed package & install latest one, these fields are getting deleted from Opportunity.

So is there any way these formula fields will also get automatically deleted when I upgrade managed package?
If this is not possible is there any way I can recover these custom formula fields from Opportunity in my developer environment from where I create managed package? As I'm not able to get any option where I can see deleted custom fields.

Thanks in advance.