function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Tyler Brooks 16Tyler Brooks 16 

Lookup and related list issues

Good morning Trailblazers!
I'm sure this is answerd somewhere but I have been searching for some time and must not be using the right keywords so here it goes!

I have an object(B) that gets created and associated to object(A) with a lookup. I also have object(C) that gets created and associated to (A).

What I need to do is automatically show the related list for Object(B) on Object(C) 's Page Layout.  
I read some posts saying Apex trigger, but feel like it should be a bit easier than that.

Please advise and thank you in advance!

Regards,
Tyler
Tyler Brooks 16Tyler Brooks 16
I also forgot to mention, there are often more than one object(B), but one of each object (A) and (C).
Ravi Dutt SharmaRavi Dutt Sharma
Are object B and object C related to each other?
Tyler Brooks 16Tyler Brooks 16
Yes, there is a lookup relationship. When I manually select (C) from (B)'s lookup field, then the related list (on C) populates, but I want it to be selected automatically based on their shared relationship of (A).