5

I see this has been asked before but this doc seems to indicate that custom fields are developer deletable (pg 29), am I missing something? I don't see any way to delete them.

https://na15.salesforce.com/help/pdfs/en/salesforce_packaging_guide.pdf

6

Custom fields can be deleted from a managed package if the package is in beta and has never been released. Once the released package has been installed as a released version, things get a lot tougher. The only option at that point is to have it uninstalled from all of your customers and only then can you request to have your package rolled back to beta.

This is all a bit of a moot point however, since with the Spring '14 release, ISVs will have the option to delete some components in a managed package, including custom fields. From the Spring '14 release notes:

Starting Spring ‘14, ISVs can delete the following types of components when updating a previously released managed package.

  • Custom Buttons or Links
  • Custom Fields
  • Custom Objects
  • Custom Tabs
  • Field Sets
  • Record Types
  • Validation Rules
| improve this answer | |
  • 1
    I guess my sticking point is that doc doesn't specify that custom fields are developer deletable only in beta versions. Glad to see spring 14 will give a little more flexibilty! – Phil B Feb 5 '14 at 16:14
  • 2
    But, as an aside, if you delete the field/object/whatever, you can never re-use that name. Make sure this is really what you want to do. – sfdcfox Feb 5 '14 at 16:37
0

I know this is an old question but answer is outdated right now. We can delete the custom fields from manage package once it is released. But process is little bit complex.

  1. Make sure any component you want to delete is not referenced anywhere in code.
  2. Log a case with salesforce.
  3. After that components from your package will be deleted but they wont be deleted from subscribers org. These components are like objects, fields, global vf pages and global Lighting components. Public components will be deleted from subscribers org.
  4. The components those are not deleted in subscribers org can be deleted manually by subscribers admin afterwards.

New customers will not have deleted components. Older customers who upgraded to new package will have to delete components manually.

Here is salesforce link:- https://developer.salesforce.com/docs/atlas.en-us.packagingGuide.meta/packagingGuide/packaging_managed_component_deletion.htm

| improve this answer | |

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.