Announcement

Collapse
No announcement yet.

Display Contact relationship/role to another Entity

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

  • Display Contact relationship/role to another Entity

    Hello everyone,

    I'm working off a fresh install of Espo V5.5.5

    I noticed that when I create an Opportunity and assign a Contact, I can pick an opportunityRole for the Contact.
    See https://www.screencast.com/t/ZafKgVPm


    I have a custom entity called Company and I want to do something similar. Everytime I add a new Contact to the company, I want to add a companyRole.
    However I'm not given the option.
    See https://www.screencast.com/t/d7G0p7nshq9x

    Can someone point me to how to setup this relationship?

    Thanks in advance.

    SS



  • #2
    I have the same wish. Did you get an answer? Thanks.

    Comment


    • #3
      Hi.
      Please investigate a code to define how it works.
      1. EspoCRM/application/Espo/Modules/Crm/Resources/metadata/entityDefs/Opportunity.json
      2. EspoCRM/client/modules/crm/src/views/opportunity/fields/conracts.js

      Comment

      Working...
      X