I want to have a custom metadata type with no custom fields because I will use the MasterLabel as an email address with a validation rule that forces a valid email address. I want to package this in a 2nd generation package. I need the customer/subscriber to be able to add records to the CMT so they have control of who will receive emails from the application.
- Is this possible? If yes, what is the best answer below?
- What is the best setting at the CMT object level when I create it? a. All Apex code and APIs can use the type, and it's visible in Setup. b. Only Apex code in the same namespace can see the type. The name of the type and the record are visible if they're referenced in a formula. c. Only Apex code in the same managed package can see the type. The name of the type and the record are visible if they're referenced in a formula.
Thank you