Invalid field:TASK.WHAT_NAME in related list:RelatedActivityList when deploying ServiceAppointment layout
Last updated 2 days ago ·Reference W-5846144 ·Reported By 8 users
When deploying a page layout which includes an activities related list, the error "Invalid field:TASK.WHAT_NAME error when deploying page layout" may be returned. The entity may have TASK.WHAT_NAME included as a field in the default related list despite WHAT_NAME not being valid for that entity.
This is known to apply to SeviceAppointment
1. Retrieve the default page layout ServiceAppointment-Service Appointment Layout
2. Make a modification to the metadata and redeploy
Manually remove the line <fields>TASK.WHAT_NAME</fields> from the section <relatedList>RelatedActivityList</relatedList> and <relatedList>RelatedHistoryList</relatedList>
Is it Fixed?
Any unreleased services, features, statuses, or dates referenced in this or other public statements are not currently available and may not be delivered on time or at all. Customers who purchase our services should make their purchase decisions based upon features that are currently available.