+ Start a Discussion
Carolyn julianaCarolyn juliana 

How do i add a related record to a lightning page layout

Hi,
i'm trying to add a related record to a lightning page layout for BAN but don't have an update/new action to associate with it

My goal is  based on the BAN entered into the Case
to  show the BAN page on the Case lightning page for a custom object

Carolyn
VinayVinay (Salesforce Developers) 
Hi Carolyn,

Not sure if I understand correctly.

From above you are looking to display related list on case lightning layout.

Create a lookup relation for case to custom object you can see custom object on case layout.

Thanks,
Vinay Kumar
Carolyn julianaCarolyn juliana
not related list but a a related record
VinayVinay (Salesforce Developers) 
Hi Carolyn,

Review 'Add Related Record Components with Lightning App Builder' in below link

ttps://trailhead.salesforce.com/en/content/learn/modules/service_trans/service_trans_layout

Please mark as Best Answer if above information was helpful so that it can help others in the future.

Thanks,
Vinay Kumar
Carolyn julianaCarolyn juliana
Hi Vinay ,thanks ,that is what i tried and got stuck in the update and view actions,for standard objects it's easy they come with those actions but problem comes for a custom object
Carolyn julianaCarolyn juliana
this is where i'm running into a blockUser-added image