Retrieve and Deploy Compact Layouts for External Objects

You can now use Metadata API to retrieve and deploy compact layouts for external objects. This change applies to both Lightning Experience and Salesforce Classic.
Previously, the following Metadata API fields and type weren’t available for external objects.
  • The compactLayoutAssignment and compactLayouts fields on the CustomObject type
  • The CompactLayout type