Find your content:

Search form

You are here

Move data from custom setting in dev to prodn

 
Share

I have a custom setting and this has some records in it. How can we move these records? Would custom settings be also available in apex data loader?

Thanks


Attribution to: Prady

Possible Suggestion/Solution #1

To make your task easy, you could use the "Custom Settings Exporter" chrome extension. It extracts all the custom settings from your org into an excel. This excel could then be loaded via dataloader (you might have to save each sheet as csv)

https://chrome.google.com/webstore/detail/custom-settings-exporter/lmfmdaidklofmhheadbjcgcdeidnhbil?hl=en-US


Attribution to: Rajiv Bhatt

Possible Suggestion/Solution #2

Custom settings are visible in apex data loader as normal objects. We can use dataloader to export the data from the dev env and insert it into prod env.


Attribution to: Prady

Possible Suggestion/Solution #3

You could certainly be able to extract and insert your custom settings via the data webservice APIs and also via the Apex data loader.

Another often seen practice is to have an Apex code snippet or maybe even Apex method which can be called to setup custom settings and perhaps some minimal test data. This Apex snippet or method can then be executed via the dev console to speed up preparation of fresh dev and config only sandboxes. This is often a faster and safer workflow than doing the export-->import of custom settings.


Attribution to: sorenkrabbe

Possible Suggestion/Solution #4

Use dataloader to extract the records and then use dataloader to insert into prod instance


Attribution to: Mohith Shrivastava
This content is remixed from stackoverflow or stackexchange. Please visit https://salesforce.stackexchange.com/questions/1711

My Block Status

My Block Content