178k views
4 votes
Other than SOQL and SOSL, what is another way to get custom settings in Salesforce?

A. Apex triggers
B. REST API
C. Custom metadata types
D. Apex classes

1 Answer

3 votes

Final answer:

Custom metadata types is another way to get custom settings in Salesforce, offering a versatile tool available for use in various parts of Salesforce and during deployment.

Step-by-step explanation:

Other than using SOQL (Salesforce Object Query Language) and SOSL (Salesforce Object Search Language), custom metadata types can be used as another way to get custom settings in Salesforce. Custom metadata types allow Salesforce administrators and developers to create custom sets of data, as well as create and manage custom data that is application-specific but does not change during transaction processing. Unlike custom settings, which are data, custom metadata types are metadata and are deployed with the package. They have the advantage of being available in formula fields, validation rules, flows, Apex, and the REST API, providing a more versatile tool compared to custom settings.

User Vikast
by
8.8k points