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:
add new api properties to sfpegCardCmp components to inject recordId and objectApiName of the page record and let each card execute its own merging
This require an evolution of the sfpegMergeUtl* component to have a new token root (e.g. PAR*) and fetch data from this root record
define a context at sfpegCardListCmp level merged by the root component and push it within all sfpegCardCmp child components via a standard Context api property (see sfpegListCmp).
** This is propably more efficient (merging done once) but requires to aggregate the needs of all possible child components in the list configuration.
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