Announcement

Collapse
No announcement yet.

findOne where linked entities contains a specific id

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • findOne where linked entities contains a specific id

    Hi,
    I would like to know how I could combine findOne and attribute in order to link a new record with a link of a link. Let me explain.
    EntityA is linked to one EntityB which is linked to one EntityC.
    In the form for creating a record of EntityA, the user choses to link it to a specific id of EntityB. I want to collect the name of the EntityC record to which EntityB is connected and put it in a field of EntityA.
    Is it possible?
    Can I do it even for many-to-many relationships, and choosing the first link?
    Thanks.
Working...
X