If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Customizing client/src/views/record/base.js in upgrade-safe way ?
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!
Not possible. You need to define your custom view for all entity types where you need to have custom code.
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.
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.
Comment