Skip to main content

Okay so I have a doozie for everyone.  With Winter 18' the related quick links were introduced which is a really cool feature.  However, it uses the page layout to determine which quick links are available if I don't want to see 15 different quick links and only 2 specific ones like Contacts and Account Teams how can I do this through a lightning component?  I have searched for code and have come up with nothing, I tried creating an alternative page layout but I can't reference 2 different layouts in the lightning layout. 

4 comentarios
  1. 25 oct 2017, 15:22
    @Logan Pounders@Andrea Wallace

    if you want to go completely custom and build your own related list quick links component from scratch, you could, and use describeLayout and hard code the related lists you want, but I wouldn't recommend it at the moment. You are correct, you can't have 2 page layouts for a user, and you can't query a related list that is not on the page layout.

    Simpler interim alternative I can think of would be to move these 2 related lists to the top of your layout (users can personalize this themselves in Personal Settings too) and put the quick links in the narrow region where it shows less so the extra few don't waste too much space, and use Related List - Single components for the rest so ordering is unaffected for those.

    It's on our roadmap to provide more flexibility to Related list quick links to pick which subset of related lists show, how many links to show, and more, as well as to break apart related lists in lightning pages from the page layout (although this is further out).

0/9000