Announcement

Collapse
No announcement yet.

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

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

  • 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?

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

    Comment


    • #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.

      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...
    X