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
ColbridgeColbridge 

Migrating / deploying custom settings

Hi, 

How would you deploy/migrate custom settings from one org to another?

Thanks. 
Best Answer chosen by Colbridge
ShirishaShirisha (Salesforce Developers) 
Hi,

Greetings!

The custom settings should be available as a custom object on the object's list. You can deploy the custom Settings using changeset or any other migration tool using the CustomObject metadata.

If you are going with the changeset then you can search for the custom setting name under the Custom Object component.

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri

All Answers

ShirishaShirisha (Salesforce Developers) 
Hi,

Greetings!

The custom settings should be available as a custom object on the object's list. You can deploy the custom Settings using changeset or any other migration tool using the CustomObject metadata.

If you are going with the changeset then you can search for the custom setting name under the Custom Object component.

Kindly mark it as best answer if it helps so that it can help others in the future.

Warm Regards,
Shirisha Pathuri
This was selected as the best answer
sachinarorasfsachinarorasf
Hi Colbridge,

You can deploy custom setting from one org to another or by Using Ant Migration 

Try the below code :
<?xml version="1.0" encoding="UTF-8"?>
<Package xmlns="http://soap.sforce.com/2006/04/metadata">
    <types>
        <members>CustomSetting1__c</members>
        <name>CustomObject</name>
    </types>
   <version>36.0</version>
</Package>
Please follow the below link :

https://salesforce.stackexchange.com/questions/191177/build-an-xml-with-a-custom-settings-for-migration-in-salesforce-org-to-org

I hope you find the above solution helpful. If it does, please mark it as Best Answer to help others too.

Thanks and Regards,
Sachin Arora
www.sachinsf.com
ColbridgeColbridge
Hi Shirisha and Sachin,

Thanks for your replies.

I think I want to try the package.xml deploy method from VS Code - But the problem is how would I identify items as Custom Settings? In my Source Org, in my local VS Code project, under > objects, all I see is custom object api names ending with __c and metadata types ending with __mdt

Thanks.
ColbridgeColbridge
Hi again - Shirisha and Sachin!

I was able to identify the custom settings. Thanks to the tip provided by Shirisha - I created a temporary outbound change set just to identify the custom settings. Then used the package.xml provided by Sachin and successfully deployed one custom setting from VS Code. I could not use change set deployment method because my Source and Target Orgs are not related. 

Even though I used both of your answers and needed both for my solution, I can only mark one as best answer. I think I should mark Shirisha's answer as the best one as it had the crucial tip I needed to identify the custom settings from the list of objects :) - Ideally one should use both of these combinations to get the job done.

Thanks. 
Estell WalshEstell Walsh
I found the solution thanks to your help. In lieu of thanks, getting over it (https://gettingoverit.io) is always available.
Suman NaskarSuman Naskar
I really found this helpful. So many thanks for this information. If anyone need any information about blogging they can visit my website Stream India 
Suman NaskarSuman Naskar
Movierulz app (https://movierulzapk.cloud) is a mobile application that offers users to watch and sometimes download movies and TV shows totally free.
william lizwilliam liz
Deploying and migrating installations needs to pass five nights at freddy's 4
 
Suman NaskarSuman Naskar
Thank you for providing this useful information. I would love to share this topic to my friends and my website Picasso App (https://picassoappz.online/picasso-app-download/)