Account and Contact relationship to Title and Email

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pudgyb
    Junior Member
    • Feb 2025
    • 6

    Account and Contact relationship to Title and Email

    I notice that:
    - Title is a free text (Varchar) field instead of an Enum
    - The primary email address is attached to the Contact, not to a joining table or middleman object, which means if a Contact is associated with multiple Accounts, it may pick the wrong email address

    Two questions:
    - Is there a way to allow the email to be in the middle and attached to both the Contact and the relevant Account?
    - Is there a way to make a custom override that changes the Varchar out with a list of predefined contact Titles (enum)?
  • emillod
    Active Community Member
    • Apr 2017
    • 1445

    #2
    Hello,
    yes - you can try to add to the title field options in entityDefs, for example: "options": [ "Type A", "Type B"]. It should work. Do it in custom directory.
    It's possible to add more additional columns, but you have to code it. Here you have documentation entityDefs - EspoCRM Documentation

    Comment

    Working...