So I can make a customized version of record/base.js, but then how do apply it to the Call entity?
Let me add some context: I added some code to the xhr success handler of the model.save instruction in the save method to read an header that I set in a php beforeSave or afterSave hook.
Based on the value of the header it can show an information box (a confirmation dialog without the cancel button). My concern is that I wouldn't be able to get that header if I do a subclass of downstream views.
Customizing client/src/views/record/base.js in upgrade-safe way ?
Collapse
X
-
Not possible. You need to define your custom view for all entity types where you need to have custom code.Leave a comment:
-
Customizing client/src/views/record/base.js in upgrade-safe way ?
What metadata do I edit to tell espo to use my version of client/src/views/record/base.js that i will put in client/custom/src/views/record/base.js ?
tanya pls advise!Tags: None

Leave a comment: