You need to sign in to do that
Don't have an account?
Hithesh Saicharan
Autonumber field postmigration issue
As we know that Autonumber field in standard object cannot be packaged. So Before creating package I converted the Autonumber to Text field and after installation in a scracth org I tried to change the Field type of that field but I am not able to do that. Even I cant delete that field.I am getting this Error
Is there a way we can achieve this in post installation step? or any other workaround.
This Custom Field Definition is managed, meaning that you may only edit certain attributes.
Is there a way we can achieve this in post installation step? or any other workaround.
As suggested in https://salesforce.stackexchange.com/questions/4793/added-auto-number-field-in-managed-package-how-to-generate-values-for-existing it is not possible to add auto-number fields after a managed package is released. Outside of managed packages, it is possible by switching the field to a text field, but this isn't possible in a managed context.
Hope this helps you. Please mark this answer as best so that others facing the same issue will find this information useful. Thank you