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 to create xml package for custom setting changes?

Best Answer chosen by Amruta Chaudhary
Sai PraveenSai Praveen (Salesforce Developers) 
Hi Amruta,

Custom setting are just like custom objects. You need to add them as below.
 
<?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>52.0</version>
</Package>

If this solution helps, Please mark it as best answer.

Thanks,
 

All Answers

Sai PraveenSai Praveen (Salesforce Developers) 
Hi Amruta,

Custom setting are just like custom objects. You need to add them as below.
 
<?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>52.0</version>
</Package>

If this solution helps, Please mark it as best answer.

Thanks,
 
This was selected as the best answer
Amruta ChaudharyAmruta Chaudhary
Thanks sai praveen for your help,
is there any changes should i do in deployment process or should deploy same as other ?