Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

Entity Support

LWC Offline uses the UI-API to access entity data. The UI-API supports a long list of standard entities, and all custom entities.

For a complete list of supported entities, see Supported Objects in the User Interface API Developer Guide.

ContentDocument, ContentVersion, and associated entities, used as part of file uploading features, have limited support. For reliable file uploads in offline scenarios, especially for images, use the unstable_createContentDocumentAndVersion API from the lightning/mobileCapabilities module. This approach avoids sync queue issues and file size limitations. See this sample implementation for the recommended pattern.

The following entities aren’t fully supported by UI-API, but are commonly used in Field Service. Support for them is incomplete.

  • Case (not supported in related lists)
  • LinkedArticleTask (recurrence isn’t supported)
  • WorkOrder (not supported in related lists)
  • WorkOrderStatus (not supported in related lists)
  • WorkOrderLineItem (not supported in related lists)