Hello, I am trying to change the view files for entity "Task" and I have a problem with parsing the data into that view. I edited the /custom/Espo/Custom/Resources/metadata/clientDefs/Task.json
file with:
"recordViews": {
"list": "custom:views/task/record/list",
"detail": "custom:views/task/record/detail",
"edit": "custom:views/task/record/edit"
}
I created whose files, but now I can't find which view file is default for the record? I want to get all the data just like default files do and then edit some things, right now I get empty screen, but my specified files is loaded fine ( I see output from console.log if I put it into list.js file).
P.S. I followed the documentation here https://github.com/espocrm/documenta...ustom-views.md
I guess the problem may be with this define function:
What file should I define to get that default functionality?
Espo.define('custom:views/task/record/list', 'views/task/record/list', function (Dep) { });
file with:
"recordViews": {
"list": "custom:views/task/record/list",
"detail": "custom:views/task/record/detail",
"edit": "custom:views/task/record/edit"
}
I created whose files, but now I can't find which view file is default for the record? I want to get all the data just like default files do and then edit some things, right now I get empty screen, but my specified files is loaded fine ( I see output from console.log if I put it into list.js file).
P.S. I followed the documentation here https://github.com/espocrm/documenta...ustom-views.md
I guess the problem may be with this define function:
What file should I define to get that default functionality?
Espo.define('custom:views/task/record/list', 'views/task/record/list', function (Dep) { });
Comment