I write about the things I work on, often as I work on them. You can find reusable utility code or explanations of my process. Many times there is no clear end and a lot of further work is required. Code samples are usually included. Where it makes sense I include full (sometimes directly deployable) code bundles via GitHub.
Subscribe to new posts
Moving Metadata Between Packages
Moving metadata between packages is dangerous. Be a responsible API developer and don’t make breaking changes.
Not so Unlocked Packages
Building a neat UoW wrapper for compounding service methods effectively and merging the Unit of Work approach with updating SObject instances in Triggers.
DmlWork a.k.a. the UoW meets Triggers
Building a neat UoW wrapper for compounding service methods effectively and merging the Unit of Work approach with updating SObject instances in Triggers.
SFDX GitHub Code Review – Part 3
A few months back the result of this post series was tagged in a GitHub conversation about SFDX code scanner. I was chuffed and determined to find time to finally make it more complete. Over the holidays I finally found a bit of that time …
Custom lightning-input-field
Allowing the Label and Helptext of lightning-input-field to be customised while maintaining all the other standard features as part of a record-edit-form. Long story, mostly solved, long way still to go.
Test Execution Dashboard
Salesforce dashboard for monitoring Test Execution time long term intended to encourage writing faster tests.
Deleting Test Results via CLI
Clearing Test Execution History from a Sandbox automatically as a workaround to a known issue with CLI failing to read Test Results with “Cannot read properties of undefined (reading ‘Status’)” error. A lesson in misdirection by expectation and the need for attention to detail in troubleshooting.
Units of Fun
Peeping into the Unit of Work to help with Batch job chaining and having to really think about who extends who when mocking and testing.
Query Caching with Selectors
Building a flexible SOQL query result cache usable with Enterprise Patterns’ Selectors.
Trigger Performance – Monitoring
TL; DR;Creating a Logger to measure Limit usage in Apex and building Dashboard to monitor improvements (or otherwise) over time.The ProblemReviewing the logs is not easy. Sometimes, it’s even impossible. There is a limit to how much can be stored and the rest gets omitted. And having the detailed logs…