I have an unlocked package that adds custom fields to the
Contact object. Some of these fields need to be made read-only. In my scratch org, I have modified the Salesforce Standard User profile to make the field read-only, but
As shown above is it possible to package either of the above in an unlocked package:
- Field-level security settings for the Salesforce standard user for a custom field
- Appending a custom field to a prepackaged page layout in Salesforce.