Select your Language

Custom Metadata Object & Custom setting

Custom Metadata
1. Custom metadata we can create  own setup objects whose records are metadata rather than data.
2. These are typically used to define application configurations that need to be migrated from one environment to another, or packaged
    and installed.
3. It comes with metadata: package, deploy, and upgrade.
4. Querying custom metadata records doesn't count against SOQL limits.
5. It have some extra standard field
     a.Created by
     b.Last Modify by
     c.Namespace prefix
     d.Protected component
     e.Custom Metadata Record Name

6. In it we have picklist, Long text area, Page Layout, Validation rule.
7. It also have one good feature that is Metadata Relation (it is a lookup between custom metadata ).
8. You can create a object definition lookup- so you are relating custom metadata to standard or custom object definition  .
9. In both custom setting and custom metadata we have permission to edit the record and edit the application configuration but but you
    require "Author Apex" to edit the configuration in custom metadata.
10. You can configure the visibility and editability of fields an objects both by the org.
11. Custom setting records’ values can be edited in code, while custom metadata cannot edit
12. It have ( __mtd ) extension.

No comments:

Post a Comment