try to copy it again
Announcement
Collapse
No announcement yet.
Change type of entity to get activities, history and tasks
Collapse
X
-
Hi Tanya,
Okay, I have and attached is a screenshot of my set up. I rebuilt and cleared the cache after saving the workflow, found a contact linked to an academy sponsor, added a call, saved the call, did a full refresh of the page and the call is still showing the parent as the contact, not the academy sponsor.
Comment
-
Hi guys,
Can anyone say if this is still the right method to change a base entity to base plus? I have just tried it but it didn't work, it stopped my base entity from loading at all (404 error) so had to restore a backup in the end. Many thanks..
Originally posted by tanya View PostHello,
1. Extend links in your entityDefs (custom/Espo/Custom/Resources/metadata/entityDefs/{EntityName}.json > links > tasks, calls, meetings, other custom event entities)
https://github.com/espocrm/espocrm/b...yDefs.json#L58 (you can copy and paste it)
2. Add your entity to parent list with Entity Manager > {each Event entity} > parent > add your entity to the list.
3. Add to your clientDefs sidePanel definition (custom/Espo/Custom/Resources/metadata/clientDefs/{EntityName}.json > sidePanels)
EspoCRM – Open Source CRM Application. Contribute to espocrm/espocrm development by creating an account on GitHub.
4. Administration > Rebuild > Refresh the page
Comment
-
Thanks for your reply shalmaxb.. I have tried again and am getting the following error in the Espo log:-
Code:[2021-05-24 15:56:48] ERROR: Json::decode():Syntax error [] [] [2021-05-24 15:56:48] EMERGENCY: Syntax error in custom/Espo/Custom/Resources/metadata/clientDefs/Contracts.json [] []
Code:{ "controller": "controllers/record", "boolFilterList": [ "onlyMy" ], "color": "#170d61", "iconClass": "fas fa-file-contract", "kanbanViewMode": false "sidePanels": { "detail": [ { "name": "activities", "label": "Activities", "view": "crm:views/record/panels/activities", "aclScope": "Activities" }, { "name": "history", "label": "History", "view": "crm:views/record/panels/history", "aclScope": "Activities" }, { "name": "tasks", "label": "Tasks", "view": "crm:views/record/panels/tasks", "aclScope": "Task" } ] } }
Many thanks.
Comment
Comment