All About Custom MetaData Types | The Salesforce Developer Guide : krati vishnoi

All About Custom MetaData Types | The Salesforce Developer Guide
by: krati vishnoi
blow post content copied from  Forcetalks
click here to view original post

Custom metadata is packageable, adjustable, upgradeable, and deployable application metadata. To start with, you make a custom metadata type, which characterizes the type of application metadata.

Points of interest of Custom metadata: 

  • Page configuration can be used in Custom metadata types
  • Endorsement Rules can be used in the Custom meta-type
  • We can make Lookup associations with other custom metaData types like custom things
  • We can make adequately picklist fields in custom metaData types. 
  • There is no Governor limit in the SOQL question. 
  • Datastore in-store memory which expands the presentation of the association. 
  • Custom metadata types are recognizable in test class without the "SeeAllData" comment. 
  • Custom metadata are intelligible for all profiles, remembering the visitor client for a public case
  • 50,000 records are returned for each exchange through Custom metadata.
  • There is no restriction for SQL inquiry per exchange. 
  • 100 records or fields for each custom metaData.

The distinction between Custom Metadata and Custom Setting

Custom Metadata: 

The size of Custom metadata records can't be 10MB.

100 records or fields for every custom metaData. 

dont miss out iconDon't forget to check out: Back Up Metadata to Secure and Restore Your Customizations | Salesforce Guide

Custom Setting:

No inquiry needed in custom Settings. 

Custom setting is anything but difficult to get to. 

Custom setting permits distinctive information for an alternate arrangement of a client by various leveled custom setting.

Only 300 fields allowed in a custom setting.

Tab cannot be created in custom settings.

How to add custom metadata in your org:

1. Go to set up in your org and search for custom metadata.

2. When you reached the screen, click on new.

3. Enter the fields according to your naming convention

4. Save.

dont miss out iconCheck out another amazing blog by Krati here: Upload Data Through CSV File in Visualforce Page | Salesforce Developer Guide

Now, after saving it you can add the fields and validations rules if need to require. Enter the custom fields values, and add details.

Like this, you can add the custom fields. It comes in handy when you have multiple values of the fields and required to use them in the code.

The post All About Custom MetaData Types | The Salesforce Developer Guide appeared first on Forcetalks.

December 24, 2020 at 06:31PM
Click here for more details...

The original post is available in Forcetalks by krati vishnoi
this post has been published as it is through automation. Automation script brings all the top bloggers post under a single umbrella.
The purpose of this blog, Follow the top Salesforce bloggers and collect all blogs in a single place through automation.