+ Start a Discussion
Praveen NPraveen N 

dynamically finding relationship between objects

Hi All,

 

i have one object Opportunity. i have three other obejcts object1, object2, object3, these objects have realationship with opportunity (parent or child relaitonship). can we know dynamically these objects having which realtiohship with opportunity. whether it has child realtionship or parent relationship with opportunity.

 

Thanks

Praveen

dotnet developedotnet develope

Hi

 

Relationship will be defined initial of datamodel, there wont be any dynamic relationship.

Praveen NPraveen N

Hi dotnet develope,

Definitely relationship should be defined at data mode and also there is no dyminc relationship. my question is can we know dynamically which relationship object1 with object2 in the apex code.

 

Thanks

Praveen