Menu
  • Home
  • Services
    • Implementation Services
    • Support Services
    • Salesforce Support Services on Tap
    • Customization Services
    • Integration Services
    • Consulting Services
    • Product Development with Salesforce
  • Focus Areas
    • Buyer Journey Management
    • Supporting Nonprofits
    • Salesforce Integration Orchestration
    • Employee Management
  • Case Studies
  • Blog
  • Internship
  • Contact
  • COVID 19 & beyond

Which one to pick – Custom Settings or Custom Metadata Types?

CategoriesBlog / Salesforce Technology

Admin

November 29, 2016

What would you prefer when you are building a custom application and it requires configurable data – Custom Settings or Custom Metadata Types (CMD)?

The obvious answer to this would be Custom Metadata types due to the various advantages that it has over Custom Settings. However, Custom Settings also has its own reasons to hold its place in the salesforce space. We need to understand the exact scenario to decide the best fit.

Here in this blog we will try to analyze few scenarios that would help us understand the purpose for both. But before we move there, here is a quick snapshot of some of the pros and cons of each.

capture

Looking at the list of benefits that Custom Metadata Types provides, we are inclined towards using Custom Metadata types. But there are obvious use cases where Custom Settings can still be used. Let us look at couple of scenarios for each and understand its real purpose.

Custom Metadata Types

  1. Building a Product which is dependent on some pre-defined data.
  2. Load of data during installation of managed package.
  3. Configurable data that does not change
  4. Metadata as part of an application that needs to be deployed along with the application.
  5. Hide the Metadata of your application from the end user and would like to restrict it from edited.

Custom Settings

  1. Custom Application which has configurable data that requires periodic change that is turning on/off of certain settings.
  2. Configuration data that is customer specific and not application specific.
  3. Configurable data as per Hierarchy
  4. Configurable data that needs to be updated/created through Apex.

As the name itself suggest, one is a setting for which you would like to give the flexibility to change and the other one is metadata based on which an entire application runs and is core to the product/application just like our Custom Objects and fields. So, you have to extra cautious when changing metadata and hence lot of restrictions.

Although, Salesforce has not highlighted anything regarding new features or roadmap for Custom Settings, but Custom Metadata Type definitely is in the limelight. Since, it is an era of Meta driven architecture, there is lot that can be achieved using Custom Metadata types when you would like use force.com as your development platform. Not sure, if Custom Settings are going to be the neglected child and might eventually phase out.

The two importable things that stands out in Custom Settings is the ability to create Hierarchical data and settings data that can go thru change.

Here are some of new and upcoming features for CMD.

  1. Defining Relationships (Winter 17)
  2. Bulk Create/Update Metadata Records using Custom Metadata Loader (Winter 17)
  3. Support for Translation Workbench (Roadmap)
  4. Customizable save process using Dynamic Triggers (Roadmap)
  5. Custom Tooling and automated setup via Apex DDL (Roadmap)
  6. Custom Datatypes for fields (Roadmap)

We will have to wait and watch what lies in future but definitely we loved Custom Settings when it was first launched as it was the only way for us to configure configurable data and gave us a level of abstraction to design our application. I still do use Custom Settings but definitely prefer Custom Metadata Types because it is an ideal solution for product development.

As every product has its own shell life and takes a makeover just like Lightning Experience, same might happen with Custom Settings. Till then choose the right option and Happy Coding!!

References

  1. http://www.slideshare.net/developerforce/beyond-custom-metadata-types
  2. http://resources.docs.salesforce.com/204/13/en-us/sfdc/pdf/custom_metadata_types_impl_guide.pdf
  3. https://releasenotes.docs.salesforce.com/en-us/winter17/release-notes/rn_forcecom_development_custom_metadata.htm

 

Recent Posts

  • Grant Sourcing, Management and Impact Reporting
  • How do you get your alumni to get involved with you on your initiatives?
  • What Information do I need to capture and maintain with respect to my Alumni?
  • What information do I need to capture about my volunteer and why?
  • What information do nonprofits need to capture and maintain of their donors and the donations they give?

Categories

  • Blog
  • Communities
  • Finance
  • General
  • Nonprofit
  • Sales
  • Salesforce Technology
  • Services

Archives

  • February 2022
  • January 2021
  • October 2020
  • September 2020
  • August 2020
  • March 2020
  • February 2020
  • September 2019
  • April 2019
  • February 2019
  • November 2018
  • September 2018
  • August 2018
  • June 2018
  • April 2018
  • March 2018
  • February 2018
  • January 2018
  • December 2017
  • November 2017
  • October 2017
  • September 2017
  • July 2017
  • November 2016
  • October 2016
  • September 2016
  • August 2016
  • July 2016
  • June 2016
  • May 2016
  • April 2016
  • March 2016
Thinqloud was founded with the vision of helping business grow using Salesforce®.

We do this by driving automation and process management using Salesforce® Technology thereby improving and implementing integrated CRM ,Sales and Marketing processes. Our mature team comprises of IT professionals (Technology and DevOps), Business process consultants and Salesforce® enthusiasts.

Email : sales@thinqloud.com

Services

  • Solution Development Services
  • Salesforce Implementation Services
  • Salesforce Support Services
  • Salesforce Customization Services
  • Salesforce Integration Services
  • Classic to Lightning Migration
  • Salesforce Consulting Services

Site Links

  • Home
  • Blog
  • Case Studies
  • Contact
  • Internship

© 2022 Thinqloud, All Rights Reserved.

  • Privacy