diff --git a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/CampaignLogRecord.json b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/CampaignLogRecord.json index 0aac3853d6..48888ca104 100644 --- a/application/Espo/Modules/Crm/Resources/metadata/entityDefs/CampaignLogRecord.json +++ b/application/Espo/Modules/Crm/Resources/metadata/entityDefs/CampaignLogRecord.json @@ -1,9 +1,10 @@ { "fields": { "action": { - "type": "varchar", + "type": "enum", "required": true, - "maxLength": 50 + "maxLength": 50, + "options": ["Sent", "Viewed", "Opted Out", "Bounced", "Link Clicked", "Lead Created"] }, "actionDate": { "type": "datetime", @@ -12,6 +13,10 @@ "data": { "type": "jsonObject" }, + "stringData": { + "type": "varchar", + "maxLength": 100 + }, "application": { "type": "varchar", "required": true,