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
Dimple SinghDimple Singh 

How to retrive page layout ant deploye in other org my ant (Its show parent field are missing)

Raj VakatiRaj Vakati
 package.xml needs to include the "Layout" type. It is usually best to explicitly name the layouts where the syntax is objectname-layoutname e.g.:
 
<types>
    <members>Account-Claims Account Layout</members>
    <members>Contact-Claims Contact Layout</members>
    <members>MyCustomObject__c-MyCustomObject Layout</members>
    <name>Layout</name>
</types>
  1. Called sf:retrieve in Ant and specified the custom object name in package.xml
  2. Retrieved object definition does not have page layouts in it
  3. after the retrieve when i try to deploy,sf:deploy,can see no page layouts are getting deployed.
https://salesforce.stackexchange.com/questions/54830/migrating-pagelayouts-using-ant