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/LeadCapture.json
T
Yuri Kuznetsov 7524bc3bc3 actions allowed
2021-04-30 22:36:45 +03:00

157 lines
4.9 KiB
JSON

{
"controller": "controllers/record",
"searchPanelDisabled": true,
"recordViews": {
"detail": "views/lead-capture/record/detail",
"list": "views/lead-capture/record/list"
},
"dynamicLogic": {
"fields": {
"targetList": {
"visible": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "subscribeToTargetList"
}
]
},
"required": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "subscribeToTargetList"
}
]
}
},
"subscribeContactToTargetList": {
"visible": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "subscribeToTargetList"
}
]
}
},
"optInConfirmationLifetime": {
"visible": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "optInConfirmation"
}
]
},
"required": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "optInConfirmation"
}
]
}
},
"optInConfirmationSuccessMessage": {
"visible": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "optInConfirmation"
}
]
}
},
"createLeadBeforeOptInConfirmation": {
"visible": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "optInConfirmation"
}
]
}
},
"smtpAccount": {
"visible": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "optInConfirmation"
}
]
}
},
"skipOptInConfirmationIfSubscribed": {
"visible": {
"conditionGroup": [
{
"type": "and",
"value": [
{
"type": "isTrue",
"attribute": "optInConfirmation"
},
{
"type": "isNotEmpty",
"attribute": "targetListId",
"data": {
"field": "targetList"
}
}
]
}
]
}
},
"optInConfirmationEmailTemplate": {
"visible": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "optInConfirmation"
}
]
},
"required": {
"conditionGroup": [
{
"type": "isTrue",
"attribute": "optInConfirmation"
}
]
}
},
"apiKey": {
"visible": {
"conditionGroup": [
{
"type": "isNotEmpty",
"attribute": "id"
}
]
}
}
}
},
"sidePanels": {
"detail": [
{
"name": "request",
"label": "Request",
"isForm": true,
"view": "views/lead-capture/record/panels/request"
}
]
},
"relationshipPanels": {
"logRecords": {
"rowActionsView": "views/record/row-actions/view-and-remove",
"layout": "listForLeadCapture",
"select": false,
"create": false
}
}
}