Announcement

Collapse
No announcement yet.

Contact name in list view of meetings

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

  • 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?

  • #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.

    Comment


    • #3
      Thanks it works !

      Comment


      • #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


        • #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


          • #6
            Manually add pieces of code

            application/Espo/Modules/Crm/Services

            Comment


            • #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...
              X