Architect offline-first field service LWC with platform constraints
Real World Scenario
Technicians lose connectivity in rural areas; custom LWC work order checklist must allow data entry offline and sync when online.
Expected Answer
Follow-Up Questions & Answers
Click to expand — each follow-up includes a direct, interview-ready answer
Stay within limits by: Salesforce mobile offline primarily via Field Service mobile app patterns — custom LWC offline is limited. Bulkify everything — never query or DML in loops. If hybrid: queue actions in IndexedDB with idempotency keys and sync service worker where platform allows. True offline on Salesforce is a platform capability decision first — custom LWC cannot replicate FSL offline alone. Document the decision in an ADR and align with enterprise standards.
Architect Perspective
True offline on Salesforce is a platform capability decision first — custom LWC cannot replicate FSL offline alone.