6

I have to create a package XML for migrating two Custom Settings (say A,B) from one org to another.

I have a sample for a Report Type but what should be the case for two Custom settings?

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>TOT_Reporting_abv</members>
        <name>ReportType</name>
    </types>
    <types>
        <members>Abbott_Rep_Reports/TOT_Reports_abv</members>
        <name>Report</name>
    </types>
   <version>36.0</version>
</Package>

1 Answer 1

9

They are ordinary CustomObject entries, just as if you were migrating fields from Account or MyCustomObject__c.

<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>CustomSetting1__c</members>
        <members>CustomSetting2__c</members>
        <name>CustomObject</name>
    </types>
   <version>36.0</version>
</Package>

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .