Does anyone know how to export Custom Setting meta data out of Salesforce so that I can commit that into our SVN repoditory with the rest of the SF code?
Do you mean the data stored therein, or the custom setting object itself?
The former is extracted using the API (e.g. Apex Data Loader script), the latter is extracted the same as a Custom Object (using the metadata entity CustomObject in your package.xml file). Make sure you're using a recent version of the API or you may not be able to see the Custom Setting and/or the data contained within.
For exporting the custom setting fields, in your org, click on Setup > Develop > Tools, and grab the Ant Toolkit. You'll need to read some directions, but once you've got a project set up, you'll just run a short command-line, and it will deposit your fields into a file you can edit or backup offline. For exporting the data inside the custom setting, click on Setup > Data Management > Data Loader, download, install, and run. It will let you export all the data, or export a filtered subset.
Try BOFC - to export (Single or multiple) Custom settings or Metadata Types at same time in few clicks. here's the link - https://bofc.io/bulk-export-operations/how-to-export-custom-metadata-types-in-salesforce-in-few-clicks
Do you mean the data stored therein, or the custom setting object itself?
The former is extracted using the API (e.g. Apex Data Loader script), the latter is extracted the same as a Custom Object (using the metadata entity CustomObject in your package.xml file). Make sure you're using a recent version of the API or you may not be able to see the Custom Setting and/or the data contained within.
Hey,
I was just interested in exporting the metadata for the custom setting definitions (the custom setting itself and it's fields).
I really can't find how to do that, I never exported a custom object metadata before either.
Can you pelase provide some guidelines?
Thanks
For exporting the custom setting fields, in your org, click on Setup > Develop > Tools, and grab the Ant Toolkit. You'll need to read some directions, but once you've got a project set up, you'll just run a short command-line, and it will deposit your fields into a file you can edit or backup offline. For exporting the data inside the custom setting, click on Setup > Data Management > Data Loader, download, install, and run. It will let you export all the data, or export a filtered subset.
here's the link - https://bofc.io/bulk-export-operations/how-to-export-custom-metadata-types-in-salesforce-in-few-clicks