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.

The 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.

Note

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)