Announcement

Collapse
No announcement yet.

How to create a One-to-one relationship?

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

  • How to create a One-to-one relationship?

    Is is possible to create a one-to-one relationship; and if it's not, then why?

    I need it, so I am going to employ a workaround - create two One-to-Many relationships at both sides and autofill the second one after the first is filled. This should give the desired result (ability to filter Reports and trigger workflows at both sides), but won't it break anything in the long run? And can it be done easier?

    Thanks!

    P.S. I use EspoCRM 4.8.2 for the moment

  • #2
    Hello
    Now it is possible only with file modification. As example you can use relationship between contact (originalLead) and lead (createdContact)
    in application/Espo/Modules/Crm/Resources/metadata/entityDefs/Contact.json and Lead.json

    Comment


    • #3
      Has this feature not been implemented yet? tanya, how exactly does entityDefs be modified/changed?

      Comment


      • #4
        After much time this was implemented.

        Comment

        Working...
        X