I've followed the guidance from this answer — using this in my project-scratch-def.json:
{
"features": ["FieldService:1"],
"settings": {
"fieldServiceSettings": { "fieldServiceOrgPref": true }
}
}
so that my shape-based scratch org does indeed have the Field Service feature enabled already when I initially launch my scratch org
However, I'm noticing if I create a list of installed packages by running force:package:installed:list
, the FSL
package is not listed. So, I attempt to run the appropriate command to install the Field Service package...
sfdx force:package:install --package 04t................. -w 10
It works and churns at the installation, reporting INPROGRESS, but eventually errors out like this:
ERROR running force:package:install: Installation errors:
1) (WorkOrder-FSL Work Order Layout) feedLayout is not supported for this layout, Details: WorkOrder-FSL Work Order Layout: feedLayout is not supported for this layout
2) (WorkOrderLineItem-FSL Work Order Line Item Layout) feedLayout is not supported for this layout, Details: WorkOrderLineItem-FSL Work Order Line Item Layout: feedLayout is not supported for this layout
What am I doing wrong?