How to deploy Compact Layout in Salesforce using ANT tool?

Sample Package.xml:

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
<members>Task.Compact_Layout_Name</members>
        <name>CompactLayout</name>
    </types>
    <types>
<members>Task.RecordTypeName</members>
        <name>RecordType</name>
    </types>
    <types>
<members>ProfileName</members>
        <name>Profile</name>
    </types>
    <version>36.0</version>
</Package>

Cheers!!!

No comments:

Post a Comment