Edit non-editable entities in Administrator > Entiity Manager

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Athensmusic
    Member
    • Feb 2020
    • 51

    Edit non-editable entities in Administrator > Entiity Manager

    Hi,
    searched but did not found any similar post.
    how can I make any non editable entity for example Email Template, Mass Email etc, editable in Administrator > Entiity Manager?
    Thanks
  • a.slyzhko
    Member
    • Oct 2023
    • 95

    #2
    For example, you want to edit EmailTemplate. You need to create file custom/Espo/Custom/Resources/metadata/scopes/EmailTemplate.json with this content
    PHP Code:
    {
      "layouts": true,
      "customizable": true
    }
    Then just run rebuilld, clear cache and reload the page. But it is not advisable as disable editing was done for a reason. So make it at your own risk

    Comment

    • yuri
      Member
      • Mar 2014
      • 8453

      #3
      This is not recommended and customizations won't be officily supported.
      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

      • Athensmusic
        Member
        • Feb 2020
        • 51

        #4
        Thanks a.slyzhko
        Is there any official supported solution yuri ? Any recommendation?

        Comment

        • yuri
          Member
          • Mar 2014
          • 8453

          #5
          If an entity type is not made available for editing, it's because developers whished them to be not available for editing. Whenever we do any changes in such entity types (in future updates), we don't take into account that the entity type could have been edited/customized by a user. If anything breaks after upgrade, we won't consider it as a bug. It will be up to the user to maintain functioning of the system (or get paid support that can be pricy if requires a lot of effort).
          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

          Working...