top of page

Custom Metadata for storing application configuration data

A newer alternative to custom settings forstoring configuration data is called custom metadata.

As with custom settings,custom metadata records appear as sObjects in Apex so you can use SOQL to retrieve them just like you would for a standard or custom object.

eg:

List<Support_Tier__mdt> minSpent = [SELECT Id, DeveloperName, Minimum_Spending__c from Support_Tier__mdt];


To learn more:


Recent Posts

See All

Comments


Post: Blog2_Post

©2020 by SalesforceDemystified. Proudly created with Wix.com

bottom of page