How to create this as default for all entities in EspoCRM?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • anuar
    Junior Member
    • Jul 2020
    • 20

    How to create this as default for all entities in EspoCRM?

    Hi,

    I have this row action for an entity and works fine.

    custom/Espo/Custom/Resources/metadata/clientDefs/contact.json
    Code:
        "relationshipPanels": {
             "cAccounts": {
                "rowActionsView": "views/record/row-actions/relationship-view-and-edit",
                "select": false
            }
        }​
    Question is how to make this for every entity as default?
  • rabii
    Active Community Member
    • Jun 2016
    • 1250

    #2
    By updating all existing relationships in your system and adding the that rowActionsView that is not an easy job
    Rabii
    Web Dev

    Comment

    • yuri
      Member
      • Mar 2014
      • 8440

      #3
      It's possible to amend metadata after it's merged. https://docs.espocrm.com/development...rclassnamelist

      Use this carefully. It's possible to break something.
      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


      • anuar
        anuar commented
        Editing a comment
        Hi Yuri, the link you shared doesn't show much. Any example code?
        I'm testing in dev, anything can brake here, no problem.
    Working...