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?
Extension of the base view (view/record/detail) globally for all entities
Collapse
X
-
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/

Comment