How to add an entity in the detail-side panels?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rgcadavos
    Junior Member
    • Jan 2017
    • 28

    How to add an entity in the detail-side panels?

    Hi All,

    I want to add Email and my custom entity in the detail side panel. Anyone can help?

    Thanks
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello

    Do you need a new panel or you want to extend existing one?

    Comment

    • emillod
      Active Community Member
      • Apr 2017
      • 1405

      #3
      Hi
      +1 for this!
      I want to add more information to side panel, something like convert information in leads

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        Hi

        Hope, it's a helpful tip
        http://forum.espocrm.com/forum/gener...-in-side-panel
        http://forum.espocrm.com/forum/gener...ions-and-views

        Comment

        • emillod
          Active Community Member
          • Apr 2017
          • 1405

          #5
          Thanks for your reply. I created field in side panel
          Now i want to create list related records in side panel. Something like activity with tasks.
          I have 2 entities: Projects and Contracts and relation between those modules "many-to-many" from entity Projects.

          Now:
          I can put in contract list of related projects "after" stream, but i have many records in stream so i want to try put this list of projects in side panel. Any ideas??

          Comment

          • tanya
            Senior Member
            • Jun 2014
            • 4308

            #6
            The easiest way is check linkMultiple box in EntityManager > Relationship view > needed relation, and after add this field to panel. Or create own panel and add it to detail view

            Comment

            • emillod
              Active Community Member
              • Apr 2017
              • 1405

              #7
              Hmmm i need more information..
              Here you have screenshot(sorry for language) of configuration relation between Projects and Contracts: http://i.imgur.com/Z5kH9fl.png
              And after that i don't have any option to add in contracts something to side panel.

              Can you tell me how to create custom panel for relation?

              Comment

              • emillod
                Active Community Member
                • Apr 2017
                • 1405

                #8
                I already add field to side panel, but now i have problem. When i try to add new task, i don't see this field. But when i already add task and open view i see field and i edit/add/change and etc.
                Is there any chance to add this field in add view? Before save?

                Comment

                • tanya
                  Senior Member
                  • Jun 2014
                  • 4308

                  #9
                  Hello
                  How do you add it? If it is possible, attach files, please

                  Comment

                  • emillod
                    Active Community Member
                    • Apr 2017
                    • 1405

                    #10
                    I created this in file:
                    ESPO/custom/Espo/Custom/Resources/metadata/clientDefs/Task.json

                    {
                    "defaultSidePanelFieldLists": {
                    "detail": [
                    {
                    "name": "assignedUser"
                    },
                    {
                    "name": "teams"
                    },
                    {
                    "name": "stronyWWWtaski",
                    "style": "success"
                    }

                    ],
                    "detailSmall": [
                    {
                    "name": "assignedUser"
                    },
                    {
                    "name": "teams"
                    },
                    {
                    "name": "stronyWWWtaski",
                    "style": "success"
                    }

                    ]
                    },

                    Comment

                    • tanya
                      Senior Member
                      • Jun 2014
                      • 4308

                      #11
                      Define also edit filed list, not only detail and detailSmall

                      Comment

                      • emillod
                        Active Community Member
                        • Apr 2017
                        • 1405

                        #12
                        Can you help me with that? How/where can i do this ?

                        Comment

                        • tanya
                          Senior Member
                          • Jun 2014
                          • 4308

                          #13
                          ?? copy detail section from your file, paste it , rename second (pasted) section to edit...

                          Comment

                          Working...