function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Amruta ChaudharyAmruta Chaudhary 

How Can we deploy search layout of custom object.

Best Answer chosen by Amruta Chaudhary
VinayVinay (Salesforce Developers) 
Hi Amruta,

To deploy a Search Layout, you must deploy the custom object and search layout are part of custom object metadata.
 
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
  <types>
    <members>Object__c</members>
    <name>CustomObject</name>
  </types>
  <version>52.0</version>
</Package>

Please mark as Best Answer if above information was helpful.

Thanks,

All Answers

VinayVinay (Salesforce Developers) 
Hi Amruta,

To deploy a Search Layout, you must deploy the custom object and search layout are part of custom object metadata.
 
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
  <types>
    <members>Object__c</members>
    <name>CustomObject</name>
  </types>
  <version>52.0</version>
</Package>

Please mark as Best Answer if above information was helpful.

Thanks,
This was selected as the best answer
Ayoub AKHLOUFIAyoub AKHLOUFI
thank you @Vinay it's helpful.