Symptom
When deleting a custom field, it fails with popup error message "Attribute is used in campaign message content xxx"
Environment
- SAP HYBRIS MARKETING CLOUD
Reproducing the Issue
- Access the "Custom fields and logic" application
- Choose a custom field and disable the usage under all the tabs
- Delete the custom field with attribute which is used campaign message content outdated
- Fail with popup error message "Attribute is used in campaign message content xxx "
Cause
- Actually it should be possible to delete custom fields even if they are used in "outdated" campaign content - however only if the campaign content is not used in released campaigns anymore, root cause is the campaigns using these objects which are not yet been stopped
Resolution
- Navigate into the mentioned content objects with ID xxxx
- From their navigate into "Used In" to see the campaigns using these objects
- Stop all campaigns which are not yet in "stopped" status or delete the campaigns via application job application
- If all campaign-usages are stopped or gone, we should be able to delete the custom fields even though they are referenced in the campaign content.
Keywords
Custom fields, Delete, Attribute, Error, Fail, Campaign, Content, Outdate , KBA , CEC-MKT-EXT , Marketing extensibility , BC-SRV-APS-EXT-FLD , Custom Fields , Problem
Product
SAP S/4HANA Cloud 2202