Invalid field:TASK.WHAT_NAME in related list:RelatedActivityList when deploying ServiceAppointment layout
Activities , Metadata , Field Service
Last updated 2022-02-10 ·Reference W-5846144 ·Reported By 40 users
Summary
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
Repro
1. Retrieve the default page layout ServiceAppointment-Service Appointment Layout
2. Make a modification to the metadata and redeploy
Workaround
Manually remove the line <fields>TASK.WHAT_NAME</fields> from the section <relatedList>RelatedActivityList</relatedList> and <relatedList>RelatedHistoryList</relatedList>
before deploying.
Reported By (40)









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.