🔎App to Audit Salesforce Custom Metadata Types
Audit Salesforce Custom Metadata Types like a Pro
Greetings, Salesforce Product Hunter
Welcome to the Salesforce Product Hunt Newsletter, your go-to source to stay connected with the greatest Salesforce resources.
Let's dive in!
🚀 Salesforce Custom Metadata Analyzer [CLI App]
This week I explored a CLI app built using python that analyzes Salesforce Custom Metadata Type. It retrieves metadata information, generates queries, executes them, and outputs field statistics either to a CSV file or as a Markdown table.
Problem it Solves
Reviewing each Custom Metadata Type to calculate Custom Metadata Type Usage through the UI is exhausting. Even your favorite editor or IDE does not provide a better way. This app automates this process and generates an insightful report that you can action upon.
Notable features
Creates a comprehensive overview of Salesforce Custom Metadata Types.
Identifies which metadata types are consuming the most storage.
Count the records associated with each metadata type.
Analyzes the field lengths.
Generates report in CSV, Markdown Table or as Console Output
Sample Report
In this example, you can quickly see that all fields in this CMDT are oversized. You can easily identify the shortest and longest entries for specific fields in the Custom Metadata Type, as well as the current field lengths. Additionally, the record count for each Custom Metadata Type is provided. The last column, Type Info, indicates whether the field is a lookup relationship or not.
Bonus Tip
Read the blog to get a deeper understanding on how to optimize Salesforce Custom Metadata Types.
What other apps you have in your toolbox that makes you more productive ?
Leave a comment
🌟 Featured Resource: Salesforce Dependent Picklist Matrix Export/Import
Easily export and import the Dependent Picklist Matrix in Salesforce.
🔗 Check it Out
Quote to ponder On
"The desire of perfection is the worst disease that ever affected the human mind." — Louis de Fontanes
📢 For feedback feel free to reply to this email or send me a message here.
Happy Hunting!
Maninder