What offline synchronization features does the Salesforce mobile app offer field support technicians?
Answer
Basics: Without a signal, a technician still needs to see assigned cases, work orders and knowledge, and record results. The free mobile app mostly needs connectivity and only caches recent data. Offline usage requires the Mobile Offline capability (included with Field Service and sold as the Mobile Plus offering; verify license names) and configuration.
How it works:
- Admin enables offline in Mobile Settings (Salesforce Mobile App) and builds a Briefcase listing objects, filters and record limits that should be primed (downloaded) to the device.
- Users get the briefcase assigned; the app primes records on launch or sync.
- Offline, users view primed records, and edit or create records; changes are stored as drafts in a local queue.
- When connectivity returns, drafts upload in order; conflicts or failures appear as errors to resolve.
- Developers use offline-compatible LWC patterns (cacheable Apex wire methods, uiRecordApi, GraphQL wire where supported) and offline-ready flows.
Advanced / deep dive: Design for what you prime: related lists, record types, picklist values and page layouts must be available offline. Priming volume affects battery, storage and sync time, so use selective filters. Conflict handling: last-write or server rules apply; use validation sparingly because validation runs on sync, not when saving offline. Custom components that call imperative Apex generally fail offline unless designed with cached wire methods or preloaded data. In custom offline-first designs (IndexedDB plus sync queue) you take on conflict resolution and security of local data yourself. Device security: PIN, encryption, remote wipe via Mobile Device Management.
Code / config example:
public with sharing {
List<Case> {
[SELECT Id, CaseNumber, Subject, Status FROM Case
:UserInfo.getUserId() LIMIT ];
}
}