This repository has been archived on 2026-07-19. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
espocrm-base/application/Espo/Resources/metadata/clientDefs/Email.json
T
2015-03-09 17:06:26 +02:00

99 lines
2.1 KiB
JSON

{
"controller": "Controllers.Record",
"model": "Models.Email",
"views":{
"list":"Email.List",
"detail":"Email.Detail"
},
"recordViews":{
"list":"Email.Record.List",
"detail":"Email.Record.Detail",
"edit":"Email.Record.Edit",
"editQuick":"Email.Record.EditQuick",
"detailQuick":"Email.Record.DetailQuick"
},
"menu": {
"list": {
"buttons": [
{
"label": "Compose",
"action": "composeEmail",
"style": "danger",
"acl": "edit"
}
],
"dropdown": [
{
"label": "Archive Email",
"link": "#Email/create",
"acl": "edit"
}
]
},
"detail": {
"buttons": [
{
"label": "Reply",
"action": "reply",
"style": "danger",
"acl": "read"
}
],
"dropdown": [
{
"label": "Reply to All",
"action": "replyToAll",
"acl": "read"
},
{
"label": "Forward",
"action": "forward",
"acl": "read"
}
]
}
},
"presetFilters": [
{
"name":"archived",
"data": {
"status": {
"type": "in",
"value": ["Archived"]
}
}
},
{
"name":"sent",
"data": {
"status": {
"type": "in",
"value": ["Sent"]
}
}
},
{
"name":"draft",
"data": {
"status": {
"type": "in",
"value": ["Draft"]
}
}
}
],
"defaultFilterData": {
"bool": {
"onlyMy": true
},
"presetName": "archived",
"advanced": {
"status": {
"type": "in",
"value": ["Archived"]
}
}
},
"boolFilters": ["onlyMy"]
}