Skip to content

fabiobarcelona/Alpha-Cloud-LWC-Related-List

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ac-related-list

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.

Features

  • 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__c channel 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

Installation

Deploy via Salesforce CLI:

sf project deploy start --source-dir src

Usage

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

About

A configurable Related List Lightning Web Component for Salesforce Record Pages that displays any child object as a dynamic related list with sortable columns, quick actions, row selection, and LMS-based cross-component refresh and event dispatch. No code required, fully set up via App Builder.

Resources

License

Stars

Watchers

Forks

Contributors