Extension of the base view (view/record/detail) globally for all entities

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • asp
    Junior Member
    • Feb 2026
    • 1

    #1

    Extension of the base view (view/record/detail) globally for all entities

    In ESPO 8+, I was able to extend the base view (view/record/detail) globally for all entities by using extend() and adding my extension to app/client.json "viewExtensions". Now I am working with ESPO 9+, and it does not work here. How can I extend the base view globally?
  • rabii
    Active Community Member
    • Jun 2016
    • 1384

    #2
    for views extending it is preferrable to use View Setup Handlers - they are way better then extending the view directly. if you case you can create a Global.json under clientDefs

    PHP Code:
    {
        
    "viewSetupHandlers": {
            
    "record/detail": [
                
    "__APPEND__",
                
    "custom:your-handler-class-path"
            
    ]
        }


    here is the full doc for this https://docs.espocrm.com/development...etup-handlers/
    Rabii
    EspoCRM Custom Development

    🔗 Portfolio & Builds

    Comment

    Working...