SAP Knowledge Base Article - Public

3199642 - Error "Attribute is used in campaign message content xxx" generated when deleting a custom field

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

  1. Access the "Custom fields and logic" application
  2. Choose a custom field and disable the usage under all the tabs
  3. Delete the custom field with attribute which is used campaign message content outdated
  4. 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

  1. Navigate into the mentioned content objects with ID xxxx
  2. From their navigate into "Used In" to see the campaigns using these objects
  3. Stop all campaigns which are not yet in "stopped" status or delete the campaigns via application job application
  4. 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