Announcement

Collapse
No announcement yet.

How can I link one entity to another on a specific field

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

  • How can I link one entity to another on a specific field

    Currently when i create and entity and link this entity as "many-to-one" to the account entity, it only links based only the Name field (I I can only the name field). How can I link using another field in accounts?

  • #2
    Specify "foreignName": "yourField"

    Example: https://github.com/espocrm/espocrm/b...ecord.json#L78

    Comment


    • #3
      Thank you, Yuri. I found the solution. I used the custom code option in the entity definition.

      Comment

      Working...
      X