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
Devaraj 7Devaraj 7 

I have 3 obects like A,B,C there is a relation between A&B and B&C i want to show C object data in A

Prosenjit Sarkar 7Prosenjit Sarkar 7
HI Devraj, 

You can create a Lookup relation in C with A object and define a condition into that lookup that only all related B's should be related to this A.

Hi Devaraj,

There are multiple ways to achieve this:
  1. Create a relation between the two objects. 
  2. Create a VF page and query records based on criteria and display it. 
  3. Create some fields on Object A of object C that need to be displayed, and update those fields in triggers. 

As per your situation you can choose the best approach. For more details you can contact me directly on skype. 


Skype: gaurav62990

Devaraj 7Devaraj 7
i dont want relation with out relation i want to do it
Devaraj 7Devaraj 7
with out coding it is possible if coding using triggers it is possible.
Prosenjit Sarkar 7Prosenjit Sarkar 7
Hi Devraj, 

If you dont create another lookup field you cannot bind A a relationship with C. So there is no question to show data as a related list. Other wise you have to go for Visualforce (for Salesforce Classic) Lighnting Components (for Lighnting Experince).