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
SapanaSapana 

Displaying records of an indirectly related object on detail page

I have say ,3 objects A, B & C.

B has MasterDetail relationship with object C and Lookup relationship with object A

Now on detail page of object A  record I want to display corresponding records from object C

Navatar_DbSupNavatar_DbSup

Hi,

 

I think you have to create a vf page for display the C object records on the A object detail page. Because object C is not directly associated with object A.

 

Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved. 

SapanaSapana

ya that surely is one solution but i wanted to know if it can be done through clicks without establishing a direct relationship between A & C

Navatar_DbSupNavatar_DbSup

Hi,

 

You can make fields of text type in object A same name as of object C and write a trigger on object C on insertion and edition to update the fields of object A and display fields of object A on page layout.