Add core data to the details page header
The core data must be added to the header of the details page.
ACTION D1: Add header values here
Adapt in File: <feature>-details.component
The details page will display the header with the title and subtitle. To customize the header, extend the headerLabels
property. Configure the items based on the details item. Please, reference the PageHeader docs for more information on the ObjectDetailItem
usage.
Example extended header items
headerLabels: ObjectDetailItem[] = [
{
label: 'Name',
value: vm.details?.name
}
];
For the details page, the generator also creates 2 actions for the header by default. Consider adding custom actions to be available in the header via headerActions$
property. Please, reference the PageHeader docs for more information on the Action
usage.
Remove the "ACTION" comment after working on this task |