Accessing Custom Metadata of a Namespaced Protected type in a Lightning Component throws Exception
Last updated 2022-02-10 ·Reference W-3374009 ·Reported By 1 users
Summary
When a lightning component in a managed package references protected custom metadata types users will see exceptions
Repro
1. Login to salesforce making sure that you have my domains setup
3. Attempt to access a lightning app component
4. Will see the exception
Workaround
The developer of the package will need to wrap the record data in an apex wrapper class and use that to render the data on the lightning component.
Reported By (1)
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.