[SalesForce] How to display custom lightning component in Highlights Panel of a record page

So when the user click on a button to display the lightning component in a new window.

enter image description here

I'm trying to display a lightning component as a button on the lightning record page in the highlights panel beside standard salesforce buttons. Is there any way to add custom component within highlights panel?

Best Answer

You can't add a component itself there. You can create an Action on the object that has a Lightning Component as its target, and then add that action to the Page Layout that your highlights panel is drawing from.

Related Topic