Newer Version Available
TPM Promotion Header Slot LWCs
| Component Name | Description | LWC Properties |
|---|---|---|
| tpm-promotion-header-icon | Displays the icon on the TPM promotion header. | use-sobject-icon: Boolean. Indicates whether the icon displayed on the promotion header is an SObject icon(true) or the default static image (false). |
| tpm-promotion-header-breadcrumbs | Displays the breadcrumbs on the TPM promotion header. |
|
| tpm-promotion-header-slogan | Displays the promotion slogan on the TPM promotion header. | promotion-id: Id. Required. The record ID of the promotion to load. |
| tpm-promotion-header-subtitle | Displays the promotion subtitle with the referenced account or account set name, date from and date through values. | promotion-id: Id. Required. The record ID of the promotion to load. |
| tpm-promotion-header-promotion-planning-button | Displays the promotion planning navigation button icon to be used in a lighting-button-group on the promotion header. |
|
| tpm-promotion-header-promotion-pl-button | Displays the promotion P&L navigation button icon to be used in a lighting-button-group on the promotion header. The promotion P&L navigation button is displayed if the visibility and editability of the EARight element, PROMOTION_PLANNING_GRID_BUTTON, is true. |
|
| tpm-promotion-header-edit-mode-button | Displays the promotion edit mode button when the promotion isn’t yet
in the edit mode. For push promotions, you also see an icon, which is only visible when the push is in progress. When the push is in progress the edit button is disabled. The promotion edit mode button is displayed if the visibility and editability of the EARight element, PROMOTION_EDIT_BUTTON, is true. |
promotion-id: Id. Required. The record ID of the promotion to load. |
| tpm-promotion-header-add-tactic-button | Displays the add tactic button when the promotion is in the edit
mode. The add tactic button is displayed if the visibility and editability of the EARight element, ADD_TACTIC_BUTTON, is true. |
promotion-id: Id. Required. The record ID of the promotion to load. |
| tpm-promotion-header-duplicate-tactic-button | Displays the duplicate tactic button when the promotion is in the
edit mode, and a tactic is focused. It duplicates the selected tactic.
The duplicate tactic button is displayed if the visibility and editability of the EARight element, TACTIC_DUPLICATE_BUTTON, is true. |
promotion-id: Id. Required. The record ID of the promotion to load. |
| tpm-promotion-header-delete-tactic-button | Displays the delete tactic button when the promotion is in the edit
mode, and a tactic is focused. It deletes the selected tactic. The delete tactic button is displayed if the visibility and editability of the EARight element, TACTIC_DELETE_BUTTON, is true. |
promotion-id: Id. Required. The record ID of the promotion to load. |
| tpm-promotion-header-predict-uplift-button | Displays the predict uplift button when the promotion is in the edit mode, and the uplift prediction feature is enabled for the promotion and user. | promotion-id: Id. Required. The record ID of the promotion to load. |
| tpm-promotion-header-kpi-validations | Displays the KPI validations UI component when the promotion is calculated and validation KPIs emit errors. | promotion-id: Id. Required. The record ID of the promotion to load. |
| tpm-promotion-header-push-area | Displays the push promotion button when the promotion is pushable,
and the promotion is displayed. It also displays a message indicating
whether the promotion must be pushed. The push promotion button is displayed if the visibility and editability of the EARight element, PROMOTION_PUSH_BUTTON, is true. |
promotion-id: Id. Required. The record ID of the promotion to load. |
| tpm-promotion-header-cancel-button | Displays the cancel button when the promotion is in the edit mode. | promotion-id: Id. Required. The record ID of the promotion to load. |
| tpm-promotion-header-save-and-refresh-button | Displays the save and refresh button when the promotion is in the edit mode. | promotion-id: Id. Required. The record ID of the promotion to load. |
| tpm-promotion-header-done-button | Displays the done button when the promotion is in the edit mode. | promotion-id: ID. Required. The record ID of the promotion to load. |
| tpm-promotion-header-pl-filter-button | Displays the promotion P&L filters button when the promotion is in P&L view. | promotion-id: Id. Required. The record ID of the promotion to load. |
| tpm-promotion-header-scenario-planning-button | Displays the scenario planning button on the toolbar. The scenario planning button is displayed if the visibility and editability of the EARight element, SCENARIO_PLANNING_BUTTON, is true. |
promotion-id: Id. Required. The record ID of the promotion to load. |
| tpm-promotion-header-attachments-button | Displays the attachments button on the toolbar. The attachments button is displayed if the visibility and editability of the EARight element, PROMOTION_ATTACHMENT_BUTTON, is true. |
promotion-id: Id. Required. The record ID of the promotion to load. |