SF CodeBase

Your library for deployment-ready Salesforce micro-solutions.

Featured Solutions

Hand-picked, popular, and battle-tested solutions to solve your most common Salesforce challenges.

Apex
advanced

Declarative Apex Roll-Up Summary Framework

A robust Apex framework that allows admins to create roll-up summaries in scenarios not supported by standard Salesforce functionality, such as lookups.

Declarative Apex Roll-Up Summary Framework
Flow
beginner

Auto-Close Cases After 7 Days

A simple yet powerful flow that automatically closes resolved cases after a 7-day waiting period, ensuring a clean and up-to-date service console.

Auto-Close Cases After 7 Days
Integration
advanced

Google Drive Integration Snippet (Apex)

An Apex snippet demonstrating how to authenticate with the Google Drive API using OAuth 2.0 and upload a file from Salesforce.

Google Drive Integration Snippet (Apex)
Validation Rule
intermediate

Advanced Duplicate Lead Prevention Rule

A validation rule that uses a combination of fields and functions to prevent the creation of duplicate leads more effectively than standard duplicate rules.

Advanced Duplicate Lead Prevention Rule
LWC
beginner

LWC Toast Notification Service

A reusable LWC service component that simplifies showing toast notifications from anywhere in your Lightning components.

LWC Toast Notification Service
LWC
intermediate

Dynamic LWC Datatable with Reusable Columns

A highly reusable Lightning Web Component for displaying data in a table, with dynamically defined columns and support for inline editing.

Dynamic LWC Datatable with Reusable Columns

Need a Custom Solution?

Can't find what you're looking for? Our team of certified Salesforce experts can help you design, build, and deploy custom solutions tailored to your exact needs.