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
Srinivas SSrinivas S 

Not able to delete a field in field set in managed package

Hi,
 
We are having two managed packages –
  1. Primary Package
  2. Secondary Package
 
  • By installing the Primary Package we are working for the Secondary Package.
  • In secondary package all the objects, fields, field sets of the primary package will be available.
  • In one of the object of the Primary Package we have created a field set additionally.
  • In Primary Package few fields are removed and created one more version of the primary package.
  • In Secondary Package development instance upgraded the Primary Package to the latest version.
  • Trying to remove the deleted field (as part of later primary package it is deleted) from the field set which is created in Secondary Package Instance for one of the object of primary package.
 
Result: Not able to delete the field from a field set which is created in Secondary Package (field set is created for one of the object of primary package).
 
Please let me know if there is any work around. We have tried to remove in Force.com IDE also nothing worked out.
 
Thanks,
Srinivas
 
 
vishu samvishu sam

You cannot delete a custom field after releasing a Managed Package. In the ISV docs there is a chart showing what objects are Customer/Developer Editable and Deleteable. Custom fields are no by both parties as far as ability to delete.