4

Such a change can be made using sfdx force:source:push, presumably because there isn't any risk of data loss (mentioned in Notes on Changing Custom Field Types).

Can this change be packaged and orgs successfully upgraded?

1 Answer 1

4

I tested this in a throwaway namespace and packaging org. After adding a Number(16,2) field to a 1GP managed package and performing a managed release, I was unable to change the field type from the UI or via the Metadata API.

1
  • 2
    This documentation seems to confirm it, but I was initially thrown off with the fact it only mentions Salesforce Classic...But, the parent page says LEX which makes me think it just hasn't been updated. Commented Dec 14, 2021 at 18:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .