pegros / PEG_LIST

Set of configurable/actionable LWC list components for Salesforce Lightning UX
MIT License
20 stars 8 forks source link

[feat] sfpegCardListCmp - Propagate info of page record in sfpegCardCmp instances #33

Open pegros opened 1 year ago

pegros commented 1 year ago

Is your feature request related to a problem? Please describe. When using the sfpegCardListCmp component, the page record context is available only for the root header actions and to determine the list of records to display. In each sfpegCardCmp instance displayed, objectApiName and recordId properties correspond to the record displayed in the component. For various sfpegCardCmp level actions, it may be necessary to use data of the actual page record and it is sometimes not possible to exactly determine it (e.g. when N-N relationships are involved).

Describe the solution you'd like The objective is to be able to access any information of the root page record within merge tokens (see sfpegMergeUtl component) in the configuration of the child sfpegCardCmp components.

Describe alternatives you've considered Multiple options are available:

Additional context N/A