Tab Replaced

lightning:tabReplaced

Fires when a Console primary tab or subtab has been successfully replaced, such as when saving a new record and the create form is replaced with the newly created Record Home.

For Use In

Lightning Experience

lightning:tabReplaced is an application event that indicates a tab has been replaced successfully. This event is supported in Lightning console apps only.

Handle the event using aura:handler.

In your client-side controller, retrieve the ID of the replaced tab.

For more information, see the Salesforce Console Developer Guide.

NameDescriptionTypeDefaultRequired
tabIdThe ID of the refreshed tab.stringYes