EDIT: Despite the exciting title, I stand corrected: Even when Custom Metadata records are retrieved with SOQL Queries, these are not included in the governor limit as documented here: “custom metadata records can have unlimited SOQL queries”. Thank you to everyone that came to me to let me know.

We all have this kind of project where some part of the application is close to the limit of allowed SOQL queries. Spring ’21 brings us a simple and easy way to remove some of them, let’s take a look.

Using Custom Metadata Types is a great way to store configuration…

Scratch Definition File, great but…

If you made the move to Salesforce DX from an existing Salesforce org, you may know that building the Scratch Definition File for your Scratch Org can be painful.

It’s a powerful tool, but then you need to be sure to activate the exact same features and settings that you have turned on in your Production Org.

So for instance, if you work with Communities, you would have to create a Scratch Definition File that looks like this:

“orgName”: “Texeï”,
“edition”: “Enterprise”,
“features”: [“Communities”],
“settings”: {
“communitiesSettings”: {
“enableNetworksEnabled”: true

Seems easy, right ? Well it…

During our #TexeiAdventCalendar, we’re sharing some small tips we like, for instance new stuff coming from the Winter ’21 release.

One small improvement that you may have missed is the ability to auto add new custom fields to custom report type layouts.

Remember every time you created some new fields, and then got feedback from users a few days later that the field wasn’t available in reports ? No more happening with this new feature.

Just look for ”Reports and Dashboards Settings” under Setup, and check “Auto add new custom fields to custom report type layouts”.

From time to time, a Salesforce release gives you a small update that will ease your life. I don’t say I delete custom fields every day, but when I do I find very painful the need to switch to Salesforce Classic to manage them, and potentially undelete them or definitely erase them.

Starting Winter ’21, we’re now able to manage deleted field from Lightning Experience, thank you !

A common use case

Lightning Data Service is a great tool allowing you to use the same cache as Lightning Experience, bringing better performances and less code to write.

Using Lightning Base Components like lightning-record-form or using out-of-the-box getRecord or createRecord methods will make record editing much easier. Thanks to the shared cache from Lightning Data Service, updating a record from your custom component will automatically update the standard record page, and vice versa.

Still, you’ll most likely end up at some point using Apex, if your use case is a little bit more complex than that, for instance involving a web service or…

This is a two parts blog series: Part 1 is focused on a simple command to export/import data, while Part 2 handles with more advanced use cases.


Having an easy to use command to export/import data is nice, but at some point you may be stuck with more complex use cases.

This happened to me with a quite basic one though. The command described in the first part of this blog post series (see here if you haven’t read it) was intended to be as easy to use as possible. But what if you need to handle a relationship between…

This is a two parts blog series: Part 1 is focused on a simple command to export/import data, while Part 2 handles with more advanced use cases.

Every time I begin a new project for a customer and that we start talking about using Scratch Orgs, one of the question that keeps coming up is “How do I load data ?”.

What’s already available

The Salesforce CLI comes with a nice set of commands to export data, sfdx force:data:tree:export and its counterpart to importsfdx force:data:tree:import. …

Each day we will reveal our “tip of the day” regarding the #Winter20 release.

Icon made by wanicon

What’s new ?

When you’re in App Launcher, you can now right click on an app, and open it in a new tab !

A few months back, I had the opportunity to talk to Xi Xiao who is running the Salesforce Way website, a Podcast and a YouTube channel.

The result of this talk is a 40mn podcast where Xi Xiao asked me several questions about Unlocked Packages, how these are working, how we’re using them, plus some more advanced topics.

If you never tried Unlocked Packages this podcast can be a good starter as Xi Xiao really covered the questions you may have before starting using it.

You can find the episode we made together on his website and on iTunes:


If you’ve started using Salesforce DX, it’s likely you’ve already seen this picture of happy Trailhead characters moving metadata from the so-called “Happy soup” to separate projects:

In an older blog post, I wrote about our first steps with DX and Unlocked Packages. We started small with a new project that had no dependency with the existing org’s metadata.

At some point however, having more complex projects required to split metadata in separate projects and packages.

I’m not going to talk about the best strategy to split your org in separate projects, but if you’re interested (and I’m sure you…

Salesforce MVP | CTO @TexeiFrance | @ParisDUG Co-organizer | @FTDreamin Team

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store