RAG Knowledge Library Index
Adoption
Adoption and change management patterns for user readiness and org health.
ai-assistant-workflow-with-rag.md
View ai-assistant-workflow-with-rag.md
Summary: Operating pattern for using Cursor, Claude, and ChatGPT with this Salesforce RAG repository for grounded answers
in-app-help-and-guidance-patterns.md
View in-app-help-and-guidance-patterns.md
Summary: Practical patterns for providing Salesforce user guidance through help text, in-app prompts, utility components, and external docs
org-health-checks.md
Summary: A practical framework for Salesforce org health checks covering architecture, security, data quality, automation, and operations
user-readiness.md
Summary: This guide covers user readiness patterns for Salesforce, including training plans, support models, and telemetry for feature adoption
API Reference
Quick reference for common APIs, methods, and patterns.
apex-api-reference.md
Summary: High-use Apex API signatures and patterns for database operations, async processing, callouts, and testing
graphql-api-reference.md
Summary: Request and response contracts, LWC wire adapter usage, and design guidance for Salesforce GraphQL
lds-api-reference.md
Summary: This reference provides API signatures, parameters, and usage examples for Lightning Data Service adapters used in Lightning Web Components
lwc-api-reference.md
Summary: This reference provides API signatures, parameters, and usage examples for common LWC modules and patterns
platform-events-api.md
Summary: This reference provides API signatures, parameters, and usage examples for Platform Events in Salesforce
soql-reference.md
Summary: Practical SOQL syntax and query patterns for secure, selective, and scalable Salesforce data access
Architecture Patterns
Architecture patterns for designing system structure, integration patterns, multi-tenant solutions, and portal architecture.
architect-role.md
Summary: The Salesforce Architect role encompasses system design, technical leadership, solution architecture, and strategic planning for Salesforce implementations. Architects bridge business req…
diagramming-patterns.md
Summary: Diagramming is a critical skill for Salesforce architects, enabling visualization of system architecture, data models, processes, and relationships. Effective diagrams communicate complex…
event-driven-architecture.md
View event-driven-architecture.md
Summary: Event-driven integration patterns decouple Salesforce from external systems by publishing business events that can be consumed asynchronously by multiple subscribers
governance-patterns.md
Summary: Governance is the framework of policies, processes, and structures that ensure Salesforce orgs are managed effectively, securely, and sustainably. Effective governance prevents technical…
mobile-strategy.md
Summary: Patterns for designing Salesforce mobile strategies, including Salesforce mobile app, mobile-optimized LWCs, and offline considerations
org-edition-selection.md
Summary: Salesforce offers multiple org editions (Professional, Enterprise, Performance, Unlimited) that provide different levels of platform capabilities, customization options, and included feat…
org-strategy.md
Summary: Org strategy is one of the most critical architectural decisions in Salesforce implementations. The choice between a single org and multiple orgs impacts data isolation, security, customi…
portal-architecture.md
Summary: Experience Cloud portal architecture patterns for supporting multiple user types with different identity providers, security requirements, and access patterns
project-estimation.md
Summary: Accurate project estimation is critical for setting realistic expectations, managing stakeholder relationships, and delivering successful Salesforce implementations. Estimation requires u…
salesforce-platform-foundations.md
View salesforce-platform-foundations.md
Summary: First-principles guide to what Salesforce is, how the multi-tenant metadata platform works, and core architecture concepts for AI and human users
salesforce-pricing-negotiation.md
View salesforce-pricing-negotiation.md
Summary: Salesforce pricing and contract negotiation requires understanding licensing models, discount structures, contract terms, and negotiation strategies. Effective negotiation can significant…
salesforce-product-evaluation.md
View salesforce-product-evaluation.md
Summary: Salesforce offers a comprehensive suite of cloud-based products designed to support customer relationship management, service delivery, marketing automation, analytics, and platform devel…
stakeholder-communication.md
View stakeholder-communication.md
Summary: Effective communication is fundamental to successful Salesforce architecture. Architects must translate complex technical concepts into business language, manage stakeholder expectations,…
team-leadership.md
Summary: Effective team leadership is essential for successful Salesforce implementations. Architects must build capable teams, lead through influence rather than authority, train team members eff…
user-license-selection.md
View user-license-selection.md
Summary: Salesforce user licenses determine what functionality users can access, what data they can see, and what actions they can perform in the org. Selecting the right user license types is cri…
Best Practices
Best practices for Salesforce product evaluation, org edition selection, user license selection, pricing negotiation, org staffing, reporting, and cloud features.
complex-reporting.md
Summary: Complex reporting is a common requirement in Salesforce implementations. Organizations need to analyze data across multiple objects, perform calculations, create visualizations, and share…
reports-dashboards.md
Summary: Salesforce Reports and Dashboards provide powerful analytics and visualization capabilities for understanding business performance, tracking key metrics, and making data-driven decisions….
sales-cloud-features.md
Summary: Sales Cloud provides comprehensive CRM functionality for managing sales processes, from lead generation through opportunity management to account and contact relationship management. Unde…
salesforce-org-staffing.md
View salesforce-org-staffing.md
Summary: Properly staffing a Salesforce org requires understanding the different roles needed, skill requirements, team structure, and how team composition evolves with org maturity. The right tea…
service-cloud-features.md
View service-cloud-features.md
Summary: Service Cloud provides comprehensive customer service and support functionality for managing cases, knowledge bases, service channels, and agent productivity. Understanding Service Cloud…
Code Examples
Complete, working code examples organized by category. All examples are copy-paste ready and include tests.
accessibility-examples.md
View accessibility-examples.md
Summary: Accessibility in Lightning Web Components ensures that all users, including those using assistive technologies, can access and interact with your components
apex-batch-template.md
Summary: Stateless Batch Apex template for high-volume processing with start/execute/finish scaffolding
apex-domain-template.md
Summary: Domain-layer template encapsulating business rules, validation, and object-specific invariants
apex-queueable-template.md
View apex-queueable-template.md
Summary: Queueable Apex template for asynchronous processing, retries, and composable background jobs
apex-scheduled-template.md
View apex-scheduled-template.md
Summary: Scheduled Apex template for cron-based automation and operational error handling
apex-selector-template.md
View apex-selector-template.md
Summary: Selector-layer template for centralized SOQL with security enforcement and reusable query methods
apex-service-template.md
Summary: Service-layer template for orchestration, validation, DML handling, and structured logging
apex-trigger-template.md
Summary: Trigger handler template for thin triggers with Domain/Service delegation and bulk-safe event handling
batch-examples.md
Summary: Batch Apex is used for processing large data volumes (thousands or millions of records) in batches of 200
bulk-api-examples.md
Summary: Bulk API enables high-volume data operations in Salesforce
callout-examples.md
Summary: HTTP callouts enable Salesforce to communicate with external systems via REST or SOAP APIs
cdc-examples.md
Summary: Change Data Capture (CDC) provides real-time change notifications for Salesforce records
ci-cd-template.md
Summary: GitHub Actions CI/CD template for Salesforce deploy validation, testing, and controlled promotion
code-examples-index.md
Summary: Complete, working code examples organized by category. All examples are copy-paste ready and follow Salesforce best practices.
component-examples.md
Summary: Lightning Web Components (LWC) are modern, standards-based web components for building custom user interfaces in Salesforce
custom-metadata-examples.md
View custom-metadata-examples.md
Summary: Custom Metadata Types provide package-deployable configuration that can be accessed in Apex, Flows, and formulas
custom-settings-examples.md
View custom-settings-examples.md
Summary: Custom Settings provide configuration data that can be accessed in Apex, Flows, and formulas
data-migration-examples.md
View data-migration-examples.md
Summary: Data migration involves importing, transforming, and validating data in Salesforce
domain-layer-examples.md
Summary: The Domain Layer encapsulates object-specific business logic and validation
error-handling-examples.md
View error-handling-examples.md
Summary: Robust error handling ensures applications gracefully handle failures and provide meaningful feedback
integration-examples.md
Summary: The Integration Layer handles external API callouts, data transformation, authentication, and error handling
list-view-button-examples.md
View list-view-button-examples.md
Summary: Practical patterns for list-view actions with selected record IDs, bulk Apex processing, and metadata configuration
logging-examples.md
Summary: Structured logging enables consistent, searchable logging across Salesforce applications
lwc-accessible-component-template.md
View lwc-accessible-component-template.md
Summary: This template provides a complete, accessible LWC component structure with all accessibility best practices built in
metadata-api-examples.md
Summary: The Metadata API allows programmatic deployment and retrieval of Salesforce metadata
nebula-logger-examples.md
View nebula-logger-examples.md
Summary: Structured logging patterns using Nebula Logger for Apex services, async jobs, and integration diagnostics
pdf-generation-examples.md
View pdf-generation-examples.md
Summary: PDF generation patterns from LWC using Apex orchestration, external rendering services, and Salesforce Files storage
platform-events-examples.md
View platform-events-examples.md
Summary: Platform Events enable event-driven architecture in Salesforce, allowing decoupled, asynchronous communication between systems
post-request-examples.md
Summary: Apex POST callout patterns with Named Credentials, typed payloads, retries, and structured error handling
queueable-examples.md
Summary: Queueable Apex is used for lightweight async processing, chaining jobs, and performing callouts after DML operations
record-triggered-examples.md
View record-triggered-examples.md
Summary: Record-Triggered Flows run automatically when records are created or updated, providing declarative automation for common business processes
rest-api-examples.md
Summary: REST API integrations enable real-time, synchronous communication between Salesforce and external systems
rest-resource-examples.md
View rest-resource-examples.md
Summary: Production-ready Apex REST resource patterns including request validation, error contracts, and bulk-safe handlers
scheduled-examples.md
Summary: Scheduled Apex provides time-based automation for periodic tasks
screen-flow-examples.md
Summary: Screen Flows provide guided user interactions for multi-step processes, data collection, and complex forms with conditional logic
selector-layer-examples.md
View selector-layer-examples.md
Summary: The Selector Layer provides centralized SOQL queries and data access abstraction
service-examples.md
Summary: LWC service layer patterns provide reusable utility functions for common operations like data transformation, validation, formatting, and business logic
service-layer-examples.md
View service-layer-examples.md
Summary: The Service Layer coordinates between domain, selector, and integration layers
sfdx-examples.md
Summary: Salesforce DX provides command-line tools and workflows for modern Salesforce development
sfdx-project-template.md
Summary: Starter project structure and config templates for Salesforce DX development with scratch org workflows
subflow-examples.md
Summary: Subflows are reusable flow components that can be called from other Flows or Apex, enabling code reuse and easier maintenance
test-class-template.md
Summary: Apex test class template with test data setup, assertions, and positive/negative scenarios
test-examples.md
Summary: Jest is the testing framework for Lightning Web Components
trigger-examples.md
Summary: Trigger handlers process trigger events with bulkification, error handling, and proper layer delegation
validation-examples.md
Summary: Data validation ensures data quality and prevents invalid data from entering the system
wire-examples.md
Summary: Wire services provide reactive data access in Lightning Web Components
word-document-generation-examples.md
View word-document-generation-examples.md
Summary: DOCX generation patterns from LWC and Apex with external render services, file storage, and secure callouts
Data Governance
Data governance and compliance patterns for data residency, compliance, and data quality.
data-quality-stewardship.md
View data-quality-stewardship.md
Summary: This guide covers data quality and stewardship patterns for Salesforce, including duplicate prevention beyond leads, survivorship rules, and master data governance
data-residency-compliance.md
View data-residency-compliance.md
Summary: This guide covers data residency and compliance patterns for Salesforce, including PII/PHI handling, GDPR/CCPA/SOC2 controls, field-level encryption, and Shield best practices
Data Modeling
Data modeling patterns for designing external IDs, integration keys, student lifecycle models, and case management models.
case-management-data-model.md
View case-management-data-model.md
Summary: A comprehensive data model for public sector case management, supporting multi-agency public benefits and services portals
contact-governance-and-page-design-patterns.md
View contact-governance-and-page-design-patterns.md
Summary: Contact data governance, duplicate control, and Lightning page design patterns derived from implementation experience
data-migration-patterns.md
View data-migration-patterns.md
Summary: This guide covers data migration strategies, transformation patterns, validation approaches, and rollback strategies for moving data into and within Salesforce
data-storage-planning.md
Summary: Data storage planning is critical for Salesforce orgs to ensure adequate capacity, manage costs, and plan for growth. Understanding how Salesforce calculates storage, what counts toward s…
external-ids-and-integration-keys.md
View external-ids-and-integration-keys.md
Summary: External ID strategies enable stable record mapping between Salesforce and external systems, supporting idempotent data synchronization and reliable integration patterns
file-management-patterns.md
View file-management-patterns.md
Summary: Salesforce provides multiple mechanisms for file storage and management, each with different use cases, limitations, and best practices
lead-management-patterns.md
View lead-management-patterns.md
Summary: A comprehensive data model and process guide for Salesforce lead management, supporting lead capture, qualification, routing, conversion, and duplicate management
npsp-opportunity-gift-model.md
View npsp-opportunity-gift-model.md
Summary: A comprehensive data model for nonprofit and education fundraising, covering how NPSP uses the standard Opportunity object to represent gifts, grants, and donations, along with related NPSP objects like Payments, Recurring Donations, and Allocations
object-setup-and-configuration.md
View object-setup-and-configuration.md
Summary: Comprehensive checklist and best practices for setting up custom and standard objects in Salesforce
standard-object-oddities.md
View standard-object-oddities.md
Summary: Standard Salesforce objects have various oddities, constraints, and special behaviors that architects and developers must understand. These differences impact data modeling, security conf…
student-lifecycle-data-model.md
View student-lifecycle-data-model.md
Summary: The Salesforce Education Cloud (EDA) data model supports higher education institutions, with particular focus on online and adult-learning programs
Development
Development patterns and practices for implementing Apex, Flow, LWC, OmniStudio, error handling, logging, troubleshooting patterns, concurrency control, and performance optimization.
admin-basics.md
Summary: Core responsibilities, skills, and configuration patterns for Salesforce administrators
apex-interfaces-patterns.md
View apex-interfaces-patterns.md
Summary: Patterns and examples for using Apex interfaces to decouple implementations, enable mocking, and improve testability
apex-patterns.md
Summary: Apex is used strategically when Flows are insufficient or need optimization/bulkification
asynchronous-apex-patterns.md
View asynchronous-apex-patterns.md
Summary: Comprehensive patterns for Batch, Queueable, Scheduled, and future methods in Salesforce
custom-settings-metadata-patterns.md
View custom-settings-metadata-patterns.md
Summary: Patterns for using Custom Settings and Custom Metadata Types for configuration management in Salesforce
email-management.md
Summary: Patterns for sending, receiving, and tracking email in Salesforce using standard features and Apex
error-handling-and-logging.md
View error-handling-and-logging.md
Summary: Comprehensive error handling and logging framework ensures all errors are captured, logged, and traceable for troubleshooting and compliance
flow-patterns.md
Summary: Comprehensive Flow patterns and best practices based on real implementation experience across enterprise-scale Salesforce projects
formulas-validation-rules.md
View formulas-validation-rules.md
Summary: Comprehensive guide to Salesforce Validation Rules and Formula Fields, including syntax, operations, patterns, use cases, and best practices
governor-limits-and-optimization.md
View governor-limits-and-optimization.md
Summary: This topic covers Salesforce governor limits, performance optimization strategies, SOQL query optimization, selective query patterns, and resource management best practices
large-data-loads.md
Summary: Patterns for loading and migrating large data volumes into Salesforce safely
lightning-app-builder.md
Summary: Patterns for composing Lightning pages, using Dynamic Forms, and structuring layouts
locking-and-concurrency-strategies.md
View locking-and-concurrency-strategies.md
Summary: Patterns for handling row locking, UNABLE_TO_LOCK_ROW errors, and high-concurrency scenarios in Salesforce
lwc-data-attributes-patterns.md
View lwc-data-attributes-patterns.md
Summary: Patterns for using data-* attributes in Lightning Web Components to pass contextual state into event handlers
lwc-patterns.md
Summary: LWCs are built for complex business logic that standard page layouts cannot handle
npsp-opportunity-processing-patterns.md
View npsp-opportunity-processing-patterns.md
Summary: Comprehensive process patterns for nonprofit and education fundraising opportunity processing, covering gift entry, pledge management, recurring donations, stage automation, and donor stewardship workflows
omnistudio-patterns.md
Summary: Patterns for designing OmniScripts and FlexCards for guided, multi-step business processes
order-of-execution.md
Summary: Understanding the order of execution in Salesforce is critical for architects and developers
platform-cache-patterns.md
View platform-cache-patterns.md
Summary: Patterns for using Platform Cache to improve performance and reduce load on Salesforce and external systems
safe-navigation-patterns.md
View safe-navigation-patterns.md
Summary: Null-safety patterns for Apex and LWC code to prevent runtime null dereference failures
soql-query-patterns.md
Summary: This document captures SOQL query patterns and practices derived from actual implementation experience across multiple Salesforce projects
trigger-framework-patterns.md
View trigger-framework-patterns.md
Summary: Single-trigger-per-object and handler architecture patterns for bulk-safe, testable Salesforce automation
wrapper-classes-patterns.md
View wrapper-classes-patterns.md
Summary: Patterns for using Apex wrapper classes to shape data for UI, batch processing, and integrations
Glossary
Terminology and definitions for clarifying what terms mean and understanding core concepts.
core-terminology.md
Summary: Canonical terminology for Salesforce architecture, integrations, and RAG implementation used in this library
salesforce-acronyms-and-disambiguation.md
View salesforce-acronyms-and-disambiguation.md
Summary: Canonical acronym expansion and ambiguity handling for Salesforce terminology used by humans and AI systems
Identity and SSO
Identity and SSO patterns for implementing SSO, multi-identity provider architectures, and login handlers.
multi-tenant-identity-architecture.md
View multi-tenant-identity-architecture.md
Summary: Multi-tenant identity architecture enables a single Salesforce org to support multiple distinct user communities with different identity providers, security requirements, and access patterns
Integration Patterns
Integration patterns and platforms for ETL, API, and event-driven integrations, SIS synchronization, integration platforms like MuleSoft and Dell Boomi, and Salesforce to LLM data pipelines.
auth-flows-patterns.md
Summary: OAuth and integration authentication flow patterns for Salesforce-to-system and system-to-Salesforce architectures
callout-best-practices.md
View callout-best-practices.md
Summary: This guide provides comprehensive best practices for implementing HTTP callouts in Salesforce, covering limitations, authentication, error handling, asynchronous patterns, circuit breakers, response optimization, testing, and monitoring
change-data-capture-patterns.md
View change-data-capture-patterns.md
Summary: Change Data Capture (CDC) provides real-time change notifications for Salesforce records
data-cloud-integration-patterns.md
View data-cloud-integration-patterns.md
Summary: Practical ingestion, query, and identity-resolution patterns for integrating Salesforce Data Cloud with downstream systems and RAG pipelines
etl-vs-api-vs-events.md
Summary: Decision framework for choosing between ETL, API, and event-driven integration patterns based on use case requirements
integration-platform-patterns.md
View integration-platform-patterns.md
Summary: Integration platforms serve as middleware between Salesforce and external systems, handling security, transformation, and orchestration
integration-user-license-guide.md
View integration-user-license-guide.md
Summary: The Salesforce Integration User License is a free API-only license designed for system-to-system integrations
named-credentials-patterns.md
View named-credentials-patterns.md
Summary: Production patterns for Named Credentials, external credentials, and environment-safe outbound integrations
salesforce-to-llm-data-pipelines.md
View salesforce-to-llm-data-pipelines.md
Summary: This document covers high-level pipeline patterns for extracting, transforming, and loading Salesforce data and metadata into LLM-powered systems (RAG, tools, agents)
sis-sync-patterns.md
Summary: High-volume batch synchronization patterns for integrating Salesforce Education Cloud with legacy Student Information Systems (SIS)
MCP Knowledge
Knowledge extracted from Salesforce MCP Service tools, providing official guidance and best practices.
design-system-patterns.md
View design-system-patterns.md
Summary: Comprehensive guidelines for using Salesforce Lightning Design System (SLDS) to design enterprise software, covering UX principles, visual design, component usage, interaction patterns, and accessibility
lds-patterns.md
Summary: Guidelines for building, reviewing, and maintaining Lightning Web Components that interact with Salesforce’s Lightning Data Service, focusing on data consistency, referential integrity, and choosing UIAPI vs Apex
lwc-accessibility.md
Summary: Comprehensive accessibility guidelines for Lightning Web Components, based on WCAG 2 and Salesforce MCP guidance
lwc-best-practices.md
Summary: Comprehensive best practices for Lightning Web Components development, focusing on event handling, property naming, decorator usage, and component structure
lwc-development-guide.md
Summary: Comprehensive guidance for Lightning Web Components (LWC) development, covering core principles, technical stack, best practices, and development workflows
Meta
Meta documentation and patterns.
code-example-template.md
Summary: REPLACE with a one-sentence description of what these examples demonstrate
knowledge-file-template.md
View knowledge-file-template.md
Summary: REPLACE with a one-sentence summary of what this file covers
pattern-template.md
Summary: REPLACE with a one-sentence summary of the pattern and when it is used
source-ingestion-status.md
View source-ingestion-status.md
Summary: Mapping of uploaded source documentation to indexed RAG pages and remaining candidate ingestion items
style-guide.md
Summary: Standards for structure, voice, formatting, and metadata across the Salesforce RAG knowledge library
terminology-mapping.md
Summary: Canonical term mapping, synonym normalization, and retrieval vocabulary guidance for Salesforce RAG
Observability
Observability and resilience patterns for monitoring, performance tuning, and high availability.
ha-dr-patterns.md
Summary: This guide covers High Availability (HA) and Disaster Recovery (DR) patterns for Salesforce, including backup/restore approaches, failover patterns for integrations, and business continuity drills
monitoring-alerting.md
Summary: This guide covers monitoring and alerting patterns for Salesforce, including Platform Events monitoring, API health monitoring, async job failure detection, and log aggregation patterns
performance-tuning.md
Summary: This guide covers performance tuning patterns for Salesforce, including query/selectivity tuning, Large Data Volume (LDV) handling, governor limit mitigation, and caching strategies
Operations
Delivery and operations patterns for CI/CD, environment strategy, and release governance.
cicd-patterns.md
Summary: This guide covers comprehensive CI/CD patterns for Salesforce, including metadata vs
environment-strategy.md
Summary: This guide covers environment strategy patterns for Salesforce, including org topologies for multi-team programs, data masking strategies, and sandbox refresh cadences
release-governance.md
Summary: This guide covers release governance patterns for Salesforce, including Change Advisory Boards (CAB), approval workflows, and risk-based release checklists
Patterns
Reusable design patterns that span multiple domains, including governor limit management, bulkification, and cross-cutting design patterns.
cross-cutting-patterns.md
View cross-cutting-patterns.md
Summary: This document summarizes reusable patterns that appear across multiple domains in the architecture
Project Methods
Project delivery and methodology for sprint-based delivery, testing strategies, and quality standards.
delivery-framework.md
Summary: Sprint-based delivery approach for managing complex multi-stakeholder Salesforce projects
deployment-patterns.md
Summary: This guide covers Salesforce deployment strategies, source control patterns, deployment best practices, Metadata API usage, and package development patterns
devops-center-patterns.md
View devops-center-patterns.md
Summary: Practical DevOps Center setup and operating patterns for Salesforce teams moving from change sets to source-tracked delivery
sfdx-patterns.md
Summary: Salesforce DX provides a modern, source-driven development workflow for Salesforce
testing-strategy.md
Summary: Comprehensive testing strategies covering integration testing, data quality testing, user migration testing, and user acceptance testing
Quick Start Guides
Step-by-step guides for getting started with Salesforce development.
apex-quick-start.md
Summary: This quick-start guide provides step-by-step instructions for creating your first Apex classes following best practices
lwc-accessibility-quick-start.md
View lwc-accessibility-quick-start.md
Summary: This quick-start guide provides step-by-step instructions for making Lightning Web Components accessible, following WCAG 2
lwc-quick-start.md
Summary: This quick-start guide provides step-by-step instructions for creating your first Lightning Web Component following best practices
Security
Security and access control patterns for implementing permission set-driven security, managing access control, securing Salesforce data for LLM systems, and implementing comprehensive sharing mechanisms.
api-integration-security-patterns.md
View api-integration-security-patterns.md
Summary: Security patterns for Salesforce APIs, connected apps, token management, and integration monitoring
permission-set-architecture.md
View permission-set-architecture.md
Summary: Permission set-driven security architecture transitions from profile-centric to permission set-based access control, enabling flexible, modular security management
salesforce-llm-data-governance.md
View salesforce-llm-data-governance.md
Summary: This document covers how to choose what data to expose from Salesforce to LLMs and how to do that safely
sharing-fundamentals.md
Summary: This document covers the fundamental concepts of Salesforce sharing, including Org-Wide Defaults (OWD), Role Hierarchy, and View All/Modify All permissions
sharing-rules-and-manual-sharing.md
View sharing-rules-and-manual-sharing.md
Summary: This document covers sharing rules (owner-based, criteria-based, territory-based), manual sharing, and Apex managed sharing
sharing-sets-and-portals.md
View sharing-sets-and-portals.md
Summary: This document covers Experience Cloud (Community) sharing patterns, Sharing Sets, field-level sharing considerations, performance optimization, best practices, common patterns, troubleshooting, and code examples
Testing
Testing patterns and examples for Apex, LWC, and integration testing.
apex-test-lessons-learned.md
View apex-test-lessons-learned.md
Summary: Practical implementation lessons for Apex and test class design from enterprise Salesforce projects
apex-testing-patterns.md
Summary: This guide provides testing patterns, best practices, and examples for Apex test classes, covering unit testing, integration testing, and test data factories
automated-testing-patterns.md
View automated-testing-patterns.md
Summary: This guide covers automated testing patterns for Salesforce at scale, including Apex test data factories, UI test automation for LWC and Experience Cloud, contract tests for integrations, and load testing patterns
dml-mocking-patterns.md
Summary: Patterns for testing Apex logic by abstracting DML behavior behind injectable repositories and test doubles
lwc-accessibility-testing.md
View lwc-accessibility-testing.md
Summary: This guide provides testing patterns, best practices, and examples for ensuring Lightning Web Components meet WCAG 2
lwc-jest-testing.md
Summary: Jest testing is the standard approach for unit testing Lightning Web Components (LWC). Jest enables developers to test component logic, user interactions, data access, and integration wit…
non-functional-requirements.md
View non-functional-requirements.md
Summary: This guide covers non-functional requirements testing for Salesforce, including security testing, accessibility testing for LWCs and portals, and performance benchmarks
test-data-factories.md
Summary: Test data factories provide reusable methods for creating test data, ensuring consistency and reducing duplication across test classes
Troubleshooting
Debugging and troubleshooting approaches for integration debugging, data reconciliation, common errors, and root cause analysis.
common-apex-errors.md
Summary: This guide provides solutions for common Apex errors encountered during Salesforce development, including error messages, causes, solutions, and prevention strategies
common-lwc-errors.md
Summary: This guide provides solutions for common LWC errors encountered during Salesforce development, including error messages, causes, solutions, and prevention strategies
data-reconciliation.md
Summary: Systematic approaches to reconciling data between Salesforce and external systems, identifying discrepancies, and ensuring data consistency
governor-limit-errors.md
Summary: This guide provides solutions for governor limit errors, including error messages, causes, solutions, and prevention strategies
integration-debugging.md
Summary: Systematic approaches to troubleshooting integration failures, identifying root causes, and resolving data synchronization issues
lwc-accessibility-errors.md
View lwc-accessibility-errors.md
Summary: This guide provides solutions for common LWC accessibility errors encountered during Salesforce development, including error messages, causes, solutions, and prevention strategies