Skip to main content
1-Visitor
November 8, 2018
Solved

Association between two things from different templates

Hi Team,

 

Need assistance on accomplishing association between things of different templates(that doesnot have inheritance between them) may be primary and foreign key relation or must use a dataTable to achieve this? 

 

Can any one pls suggest

PaiChungAnswer
22-Sapphire I
November 8, 2018

Thing1 would have a property that helps it to 'maintain' what other Thing(s) it 'relates' to

so I could do something like

Things[me.myRelatedThing].someValue to access a property value in that related Thing.

4 replies

22-Sapphire I
November 8, 2018

Often times we use a Network for this.

Not sure if there is an actual hierarchical relationship

else you can use a property in either Thing to 'point' to the other Thing

Translate
vijay51-VisitorAuthor
1-Visitor
November 8, 2018

Thanks for the reply

 

Can you pls brief on 

 

you can use a property in either Thing to 'point' to the other Thing

Translate
PaiChung22-Sapphire IAnswer
22-Sapphire I
November 8, 2018

Thing1 would have a property that helps it to 'maintain' what other Thing(s) it 'relates' to

so I could do something like

Things[me.myRelatedThing].someValue to access a property value in that related Thing.

Translate