{
    "controller": "controllers/record",
    "menu": {
        "list": {
            "buttons": [
                {
                    "label": "Target Lists",
                    "link": "#TargetList",
                    "acl": "read",
                    "style": "default",
                    "aclScope": "TargetList"
                }
            ],
            "dropdown": [
                {
                    "label": "Mass Emails",
                    "link": "#MassEmail",
                    "acl": "read",
                    "aclScope": "MassEmail"
                },
                {
                    "label": "Email Templates",
                    "link": "#EmailTemplate",
                    "acl": "read",
                    "aclScope": "EmailTemplate"
                },
                {
                    "label": "Tracking URLs",
                    "labelTranslation": "Campaign.links.trackingUrls",
                    "link": "#CampaignTrackingUrl",
                    "acl": "read",
                    "aclScope": "CampaignTrackingUrl"
                }
            ]
        }
    },
    "recordViews": {
      "detail": "crm:views/campaign/record/detail"
    },
    "views": {
      "detail": "crm:views/campaign/detail"
    },
    "sidePanels":{
        "detail":[
            {
                "name": "statistics",
                "label": "Statistics",
                "view": "crm:views/campaign/record/panels/campaign-stats",
                "hidden": false,
                "isForm": true,
                "notRefreshable": true
            }
        ]
    },
    "relationshipPanels": {
        "campaignLogRecords": {
            "view": "crm:views/campaign/record/panels/campaign-log-records",
            "layout": "listForCampaign",
            "rowActionsView": "views/record/row-actions/remove-only",
            "selectDisabled": false,
            "createDisabled": true
        },
        "massEmails": {
            "createAttributeMap": {
                "targetListsIds": "targetListsIds",
                "targetListsNames": "targetListsNames",
                "excludingTargetListsIds": "excludingTargetListsIds",
                "excludingTargetListsNames": "excludingTargetListsNames"
            },
            "createHandler": "crm:handlers/campaign/mass-emails-create",
            "selectDisabled": true,
            "recordListView": "crm:views/mass-email/record/list-for-campaign",
            "rowActionsView": "crm:views/mass-email/record/row-actions/for-campaign"
        },
        "trackingUrls": {
            "selectDisabled": true,
            "rowActionsView": "views/record/row-actions/relationship-no-unlink"
        }
    },
    "filterList": [
      "active"
   ],
   "boolFilterList": ["onlyMy"],
   "iconClass": "fas fa-chart-line"
}
