Creating a custom tab

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tothewine
    Active Community Member
    • Jan 2018
    • 373

    Creating a custom tab

    I want to create a tab with custom content inside it, integrated with the rest of espo (ACL etc) but without an associated entity. I think a custom view may be. Can you provide more information?
  • tanya
    Senior Member
    • Jun 2014
    • 4308

    #2
    Hello,
    Note: It's possible to create custom entity through Admin UI. This article is outdated. I'm going to show you how to create new entities in EspoCRM manually. We will make new simple module called PM (Project Management) with Projects and Tasks entities.



    Discover how Calendar is implemented

    Comment

    • tothewine
      Active Community Member
      • Jan 2018
      • 373

      #3
      Thanks. I'll look into the Project example. In addition to this, could you also point me to documentation on how to create an admin panel?

      Comment

      • tanya
        Senior Member
        • Jun 2014
        • 4308

        #4
        Hello,
        You can create a file custom/Espo/Custom/Resources/metadata/app/adminPanel.json. Examples you can find at application/Espo/Resources/metadata/app/adminPanel.json.

        Comment

        • tothewine
          Active Community Member
          • Jan 2018
          • 373

          #5
          Thanks. Do I have to copy all the content from adminPanel.json or just add the new panel object like this ?

          Code:
          {
          "customGroup":{
           "label": "Example Group",
                "itemList": [
                   {
                      "url":"#DataHolders",
                      "label":"Data Holders",
                      "description":"Can this be a string?"
                   }]
          }
          }
          Last edited by tothewine; 11-29-2018, 02:46 PM.

          Comment

          • tanya
            Senior Member
            • Jun 2014
            • 4308

            #6
            If you want to create a new group, this is ok, of you want to add new rows to existing group, use "__APPEND__" before, like
            "customization": {
            "items": [
            "__APPEND__",
            {
            "url":"#Url",
            "label":"Label",
            "description":"Descriptionr"
            }
            ]
            }

            Comment

            Working...