WhatId in a related content section
Detection
- RegExp:
Error (.*) Cannot use field:WhatId in RelatedContent section
Examples
Error Task-Task Layout Cannot use field:WhatId in RelatedContent section.
Resolution
Layout {1} has a related content item on WhatId, often left by an expired package (Health Cloud, Financial Services Cloud).
- Remove the <relatedContentItems> block that uses WhatId from the <relatedContent> section of {1}