How can we maintain state across batches in apex

INTRODUCTION Today, we will discuss the Database.Stateful interface, which plays a crucial role in maintaining state across batch call methods. When working with the Database.Stateful interface, instance member variables of a class retain their values between transactions of the execute() method, while static variables do not support this feature in the context of a Batch …

How can we maintain state across batches in apex Read More »

Override the standard CSS of a Lightning button using CSS styling hooks

Currently, it is possible to customize CSS for standard Lightning Base Components using styling hooks. What are Styling Hooks Styling hooks leverage CSS custom properties, simplifying the process of customizing component styling. By using CSS custom properties as hooks, we can easily personalize the SLDS (Salesforce Lightning Design System) component with our desired style. Where …

Override the standard CSS of a Lightning button using CSS styling hooks Read More »