Why Companies Fail To Attract Tech Talents

Every once in a while, one of these recruiting wisdom re-posts pops up in my Linkedin Feed that tells me to "hire for attitude, not for skills". I understand why most people like the idea. How awesome would it be, if you could hire virtually everyone and teach...

A Library To Mock SObject Records

If you plan to write solid unit tests in Salesforce, you won't get around mocking sobjects. A solid testing strategy needs a powerful library to mock sobject records. This allows you to write loosely coupled tests without the need to insert records into the database....

Solve „Unable To Lock Row“ Error In Tests

There seems to be a soft limit for E2E tests in Salesforce. Once you hit it, your tests will start to fail with the dreaded "unable to lock row" exception. This is one of the nastiest errors you can encounter, especially in tests. It's hard to debug and even harder to...

Salesforce SFDX CI With Rollback On Fail

There is one thing I love most about SFDX: The possibility to automatically rollback, if your continuous integration (CI) pipeline fails. This greatly decreases the probability for your developers to break your build pipeline. As a result, they are less likely having...

How Many Apex Triggers Per Object?

I recently came across a stone-old question: How many apex triggers per object are a best practice? Is the "single apex trigger per object" dogma still en vogue after the introduction of SFDX? Why Are Multiple Apex Triggers Per Object Considered Bad? A quick research...

Prettier for SFDX: Format Apex and LWC

Prettier is essential for professional software developers. It is more than just a code-formatter, it is an opinionated code-formatter. I will spare you the repetition of the discussion whether this is good or bad and cut straight to the point: How to add Prettier to...

5 Signs You Suck At Testing Apex

This is a rant full of sarcasm. Reader discretion advised. However, if you believe that "customers won't pay for quality" and that "testing your apex code slows you down" this text is for you. You are part of the problem. In the last couple of years, I have had the...

Visualforce Dynamic Component In Action

I recently had to integrate our USA and our Switzerland subsidiaries in our quoting tool. This tool, so far, used a fairly hard-coded visualforce page with some static stylesheets to generate a DIN 5008 (Type A) letter quote. While our Swiss subsidiary only required...

Porträt Jannis Lietzau klein

Über den Autor

Ich arbeite seit mehreren Jahren als IT Manager, Administrator und Developer mit der Salesforce Plattform. Hier blogge ich ganz privat über (für mich) spannende Themen aus meinem Berufsalltag.