4

We are exploring the option of using custom metadata types over custom settings. What are the limitations on the size of data in Custom Metadata types? Is it inclusive of custom settings data limit?

2

The number of custom metadata types per org has been increased to 200, and the limit is no longer in size but is 10 million characters total across all unmanaged metadata types in the org

https://help.salesforce.com/articleView?id=custommetadatatypes_limits.htm&type=5

4

It's interesting that Salesforce is now encouraging everyone to migrate to Custom Metadata. So much so that they have a setting to allow you to turn off LIST Custom Settings now (Schema Settings). But with a limit of 100 TOTAL types (packages and local), this is just unreasonable. We have almost 100 Custom Metadata Types already and still have almost 300 Custom Settings we'd like to migrate. Until Salesforce extends the NUMBER of Custom Metadata Types (and total size), we won't be able to.

3

See Custom Metadata Limits:

Custom metadata per organization * - 10 MB


* Record size is based on the maximum field size of each field type, not the actual storage that’s used in each field. When adding fields to a custom metadata record, use the appropriate type and specify a length that doesn’t exceed what’s needed for your data. This action helps you avoid reaching the cached data limit. For example, if you create a US social security number (SSN) field, select the Text data type and specify a length of 9. If instead you selected Text Area, the field would add 255 characters to the usage count for each record, regardless of the number of characters entered.

Here is a screenshot of that page:

Limits Page Screenshot

3
  • 1
    Can you please include the relevant information as text and also link to your reference?
    – Adrian Larson
    Jul 18 '16 at 13:53
  • Thanks @Devendra. So are these limits different from the custom settings 10 MB limit?
    – Anisa
    Jul 25 '16 at 13:28
  • 2
    Currently there is a limit of 10 million characters per organization. Nov 29 '17 at 12:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.