Announcement

Collapse
No announcement yet.

How to add Tasks to Account's bottom panel

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

  • How to add Tasks to Account's bottom panel

    Hi
    I can not add Tasks to Account's bottom panel. "Tasks" tab does not appear in Account's bottom panels in layout manager.

    Click image for larger version

Name:	image.png
Views:	161
Size:	39.1 KB
ID:	99653

  • #2
    kacper,

    A Parent-to-Children Relationship is established between Account and Task. With this type of Relationship in the Bottom Panels, it is impossible to add an entity (Task in our example).
    A Many-to-Many or One-to-Many relationship must be set between Account and Task for this capability.​

    Comment


    • #3
      This is not true that the Parent-to-Children relationship type is the reason why the panel is not available.

      Comment


      • #4
        Originally posted by kacper View Post
        Hi
        I can not add Tasks to Account's bottom panel. "Tasks" tab does not appear in Account's bottom panels in layout manager.

        Click image for larger version  Name:	image.png Views:	29 Size:	39.1 KB ID:	99653
        Create a custom Account.json under Espo/Custom/Resources/metadata/entityDefs and use the code below

        PHP Code:
        {
            
        "links": {
                
        "tasks": {
                    
        "layoutRelationshipsDisabled"false
                
        }
            }
        }
        ​ 
        Once you do that clear the cache and rebuild the system and then go to administration > entitymanager > account > layout > relatiosnhips and you will find the tasks on the right side, just add it then.
        Rabii
        Web Dev

        Comment


        • #5
          Originally posted by rabii View Post

          Create a custom Account.json under Espo/Custom/Resources/metadata/entityDefs and use the code below

          PHP Code:
          {
          "links": {
          "tasks": {
          "layoutRelationshipsDisabled"false
          }
          }
          }
          ​ 
          Once you do that clear the cache and rebuild the system and then go to administration > entitymanager > account > layout > relatiosnhips and you will find the tasks on the right side, just add it then.
          Hi, thanks all for answers.
          Now it works!

          Comment

          Working...
          X