Contact name in list view of meetings

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gribs
    Senior Member
    • May 2015
    • 104

    Contact name in list view of meetings

    Hi,
    I want to show in the list view of meeting and calls the name of the contacts attendees for

    I've tried few things but no luck
    can you give me a little help please?
  • yuri
    Member
    • Mar 2014
    • 8440

    #2
    Hi


    1. Create custom service for meeting.
    2. With method
    PHP Code:
        public function loadAdditionalFieldsForList(Entity $entity)
        {
            parent::loadAdditionalFieldsForList($entity);
            $entity->loadLinkMultipleField('contacts');
        } 
    
    3. Add contacts field to list layout (manually).
    4. Clear cache.
    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

    • gribs
      Senior Member
      • May 2015
      • 104

      #3
      Thanks it works !

      Comment

      • tom56
        Junior Member
        • Aug 2015
        • 4

        #4
        Hello yurikuzn,

        it would please possible to explain the steps in more detail? Sorry, I'm just getting started, know ESPO.

        Thank you very much
        tom56

        Comment

        • vampke
          Junior Member
          • May 2016
          • 14

          #5
          Hello,
          I need this as well but I do not know how/where to make these changes.
          Step 2: which file? I assume this should be added to one of the Meeting.php files, but in which folder?
          Step 3: when you say manually: how? Where? Will change in step 2 automatically add the contacts to the list in the layout manager? Or do you mean manually add it in a source file? Which one?

          Comment

          • yuri
            Member
            • Mar 2014
            • 8440

            #6
            Manually add pieces of code

            application/Espo/Modules/Crm/Services
            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

            • vampke
              Junior Member
              • May 2016
              • 14

              #7
              Hello,
              I added the code to the file application/Espo/Modules/Crm/Services/Meeting.php
              The contacts do not show up in the layout manager. do I need to add them in the sources anywhere?

              Comment

              Working...