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?


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.


Try to create a custom Action and add lightning component Make sure Lightning component has : lightningQuickActionWithoutHeader


<aura:component implements="force:lightningQuickActionWithoutHeader,force:hasRecordId">

  • yes implements quickactionwithoutheader but does not work. – Nick Kahn Aug 20 '19 at 23:49
  • Try creating action not the button . What problem are you facing ? Refer Link – Zuie Dhiver Aug 22 '19 at 0:15

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.