cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X

Association between two things from different templates

vijay5
11-Garnet

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

ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:vijay5)

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.

View solution in original post

4 REPLIES 4
PaiChung
22-Sapphire I
(To:vijay5)

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

vijay5
11-Garnet
(To:PaiChung)

Thanks for the reply

 

Can you pls brief on 

 

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

PaiChung
22-Sapphire I
(To:vijay5)

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.

vijay5
11-Garnet
(To:PaiChung)

Thanks, Got it

Announcements


Top Tags