Require Customize Application Permission for Direct Read Access to Custom Metadata Types (Critical Update, Enforced)
Where: This change applies to Lightning Experience and Salesforce Classic in Professional, Enterprise, Performance, Unlimited, Developer, and Database.com editions. Professional Edition orgs can create, edit, and delete custom metadata records only from types in installed packages. This change also affects Visualforce pages and Lightning components that directly reference custom metadata types.
When: This critical update is scheduled to be enforced on sandbox instances on January 2, 2020 in the Spring ’20 release. It will not be rolled out to all instances on January 2, 2020. Sandbox instances are upgraded 4–6 weeks before a release goes into production. To find the exact activation date for your instance, refer to https://status.salesforce.com.
How: When this critical update is enforced on the instance, users without the Customize Application permission can no longer access custom metadata types. To minimize the impact on your users, admins with the Customize Application permission can grant read access through profile or permission sets.
- Go to the profile or permission set that you want to grant access to.
- Under Enabled Custom Metadata Type Access, click Edit.
- Add the custom metadata type to the list of enabled custom metadata types.
- Go to Setup and search for Schema Settings.
- Turn off Restrict access to custom metadata types.