2

In Visualforce you could add an apex:outputLink to a page and had a link that showed a Mini layout on Hover.

I want the exact same thing in a custom Lightning component. Add a record link and have a user customizable Compact layout to show up on Link hover.

enter image description here

Is that doable and how? If not, why not or when?

I know that I could built that myself using a custom popover component and lightning:recordViewForm. But that is a lot of work and less flexible because there is no easy way to make the displayed fields customizable by users.

1
  • 1
    I'd say there isn't such a thing. Even for lightning:outputField, the docs say "Lookups render as text only. Linking and hover overlays on lookup values are not supported." Commented May 17, 2018 at 15:23

1 Answer 1

2

AFAIK There is no standard base lightning:component for a popover,

But you can use the one from the strike library:

http://www.lightningstrike.io/#!/strikePopover

EDIT

Another option: use lightning:overlayLibrary with the showCustomPopover method - that would set the visual popover, then inside it put your own fields

2
  • Hello, do you have any example on how to use the strike component for this? Thanks Commented Mar 21, 2019 at 14:09
  • 1
    @FranciscoRiccomagno I can see that their website is down, you can use their github repo: github.com/appiphony/Strike-Components search for the popover component. Unfortunately I do not have a working example of it Commented Mar 26, 2019 at 8:32

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .