Modify List View Value

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sddev
    Junior Member
    • Jun 2015
    • 15

    Modify List View Value

    I have a Primary Contact entity that setup with:
    PHP Code:
    fields --
    "primaryContact": {
      "type": "link",
      "required": false
    },
    
    links --
    "primaryContact": {
       "type": "belongsTo",
       "entity": "Contact",
       "foreign": "member"
    }, 
    
    I was hoping to add the email address to the name. Also is it possible to modify a value in the export as well?

    Thanks in advance,
    Stephen
  • yuri
    Member
    • Mar 2014
    • 8477

    #2
    You want to display email address instead on name for link fields? I don't know how to achieve it but it's possible.

    Since 3.8.0 you can customize export much. See Services/Record.php.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • sddev
      Junior Member
      • Jun 2015
      • 15

      #3
      Alright I will keep digging and see if I can find out where it is.

      Thanks,
      Stephen

      Comment

      Working...