Announcement

Collapse
No announcement yet.

Different Link Fields Account / Lead

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

  • Different Link Fields Account / Lead

    Hello,

    we have an own entity linked to account, this works fine, this provides the desired link field with the name of the account.
    Now we have linked our entity to lead too, this works also fine, but instead of the account name of the lead is linked with the name of the person.

    Can we change this?

    sincerly

  • #2
    Hello,
    you can create a foreign field for this relation (better way), or you can try to override _getName method in custom Entities folder
    https://github.com/espocrm/espocrm/b...ities/Lead.php
    Job Offers and Requests

    Find Developer
    Find Customer

    Comment


    • #3
      Originally posted by tanya View Post
      Hello,
      you can create a foreign field for this relation (better way), or you can try to override _getName method in custom Entities folder
      https://github.com/espocrm/espocrm/b...ities/Lead.php
      Thanks for the quick answer. I take a look at the _getName.
      I already tried a foreign field, but that field as a link gives the entity which contains the foreign field, not the foreign entity, which is desired.

      Comment

      Working...
      X