The document discusses custom metadata in Salesforce, including:
- Custom metadata provides API access only, with no create, update, or delete functionality. Records can be accessed via SOQL but not related to other objects.
- Limits include 10 MB of custom metadata per org, 100 custom metadata types per org, and 50,000 records returned per transaction.
- Use cases include app configurations for enterprises and ISVs.
- A demo was presented along with a roadmap of future custom metadata features like a native UI and relationship support.
4. __mdt?
• API access only
• No CUD
• Use SOQL to access custom metadata records.
– No relationship !
• Records in managed packages
– Subscribers can’t update custom metadata records that are inside installed managed
packages. To allow subscribers to configure custom metadata that you’ve created, include
the custom metadata type in a managed package and include the records in a separate
unmanaged package.
5. Limits
SOQL
queries
per
Apex
transaction Unlimited
Custom
metadata
per
organization
* 10
MB
Custom
metadata
per
certified
managed
package
** 10
MB
Fields
per
custom
metadata
type
or
record 100
Custom
metadata
types
per
organization 100***
Characters
per
description
field 1
000
Records
returned
per
transaction 50
000
Custom
metadata
types
in
one
call 200
6. Use case
• App configurations for enterprises
• App configurations for ISVs
8. Roadmap
• Native IHM to manage Custom metadata
• Ability to protect individual records rather than locking down entire
types on managed packages
• Ability to delegate control of customizing (updating) individual fields
to customers
• Metadata relationships
9. Go further
• Salesforce blog :
https://developer.salesforce.com/blogs/engineering/2015/04/custom-
metadata-types-ga.html
• Custom Metadata Types Implementation Guide :
https://na1.salesforce.com/help/pdfs/en/custom_metadata_types_im
pl_guide.pdf