A fully configurable Related List LWC for Salesforce Record Pages. Drop it on any record page via App Builder, point it at a child object, and get a datatable with sorting, inline actions, row selection, and LMS-based refresh. No code required.
- Displays any child object's records via dynamic SOQL (enforces user-mode access)
- Comma-separated field list with relationship traversal (
Owner.Name,Responsible__r.Name) - Infers column types from object metadata
- Clickable Name and related Name fields as record links
- Edit and Delete row actions (respects object-level CRUD permissions)
- Quick action buttons in the header which supports object-specific and Global actions
- Row selection with configurable max rows and radio/checkbox mode
- LMS subscription via
AlphaCloudPageEvent__cchannel for cross-component refresh and custom event forwarding - Standard Lightning refresh handler (compatible with both Locker and LWS)
- Skeleton loading state on first load, spinner on subsequent refreshes
- Subtitle bar with record count, active sort field, and relative last-updated time
- View All footer link navigating to the standard relationship page
Deploy via Salesforce CLI:
sf project deploy start --source-dir srcAdd the Related List component to a Lightning Record Page in App Builder and configure the required properties:
| Property | Required | Description |
|---|---|---|
| Object Name | Yes | API name of the child object (e.g. Contact) |
| Matching Field | Yes | Lookup field on the child object pointing to the parent (e.g. AccountId) |
| Related List Fields | Yes | Comma-separated field API names (e.g. Name,Email,Phone) |
See docs/configuration.md for the full property reference and docs/lms-integration.md for the LMS refresh pattern.