Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am trying to import data into custom settings via data loader.

I am getting an error during insert operation stating

"Required fields are missing: [Name]

If it is a custom object I can set the Name field as auto increment.

I am unable to see such option for Name field in custom settings.

Can someone suggest as to what should be done in this case ?

share|improve this question
up vote 5 down vote accepted

Thats not an option for custom settings. You access custom settings by their name, so you really want to make the name something unique and that is descriptive of the record so you have a way to access it.

share|improve this answer

The name is the key, and is required (like Lastname is required on Contact) - so you need to set it something would need to create that unique key to map to the Name field in your dataset prior to loading it

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.