Hello,
I tried creating an entity of type "Task" by creating /espo/Custom/Resources/app/entityTemplateList.json
However, upon rebuilding and trying to create the custom entity, I received all sorts of errors.
My goal is to create custom Task entities (ie. SalesTask, EngineeringTask) as these may need more fields than what is available in default Task. I know I could add relevant fields to the "Task" entity (ie. "type": [Sales, Engineering, etc.] but that doesn't seem to really fit for what I'm trying to accomplish.
The default Template manager Assignment::Task for example is generic as well and I would like to be able to customize the template (ie. Assignment::SalesTask) rather than try and implement IF/Then logic in Assignment::Task template if I were to take the approach above. What approach is recommended?
I tried creating an entity of type "Task" by creating /espo/Custom/Resources/app/entityTemplateList.json
Code:
[ "__APPEND__" "Task" ]
My goal is to create custom Task entities (ie. SalesTask, EngineeringTask) as these may need more fields than what is available in default Task. I know I could add relevant fields to the "Task" entity (ie. "type": [Sales, Engineering, etc.] but that doesn't seem to really fit for what I'm trying to accomplish.
The default Template manager Assignment::Task for example is generic as well and I would like to be able to customize the template (ie. Assignment::SalesTask) rather than try and implement IF/Then logic in Assignment::Task template if I were to take the approach above. What approach is recommended?
Comment