Skip to content
Home » Utils

Utils

Standalone utility classed or reusable solutions.

Apex Architecture Async Apex Bear Profile Bear Trap Alert Enterprise Patterns GitHub LWC Namespace Packages Performance Testing Triggers Utils

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.

Man stretching

Flexible Mock

Writing good tests is hard. Complex repetitive setup code is often seen and tests run very slow. One way to improve is to gradually introduce mocking. The post tries to make this as easy as possible.

Shuttle

Async Apex Job

TL; DR; Unified Async Apex base class to execute batch record processing asynchronously without having to worry (too much) about limits and how it actually executes. Intended for simpler jobs in order to ease off the pressure on trigger handlers rather than true big-batch tasks. Just keep calling executeAsync and let… Read More »Async Apex Job

Frozen sandbpit

Sandbox User Emails

TL; DR; Simple approach to fixing .invalid email addresses of selected users in newly created Sandboxes using SandboxPostCopy triggered Apex and a Permission Set. The Problem Scratch orgs are still a distant dream for many teams. Cloning a single Developer sandbox that’s been around for years and contains sort-of usable… Read More »Sandbox User Emails

Apex Architecture Async Apex Bear Profile Bear Trap Alert Enterprise Patterns GitHub LWC Namespace Packages Performance Testing Triggers Utils