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
tgk1tgk1 

Bulk Inserting New Users with Apex Dataloader

Hi everyone-

 

I'm trying to bulk upload 23 new user records by using the Apex Dataloader.  I'm not making these users active yet, but I need to create the records so I can eventually activate them one at a time.  All of my fields values in the .CSV file are perfect, but I keep running into issues with the following fields:

 

Time Zone

Locale

Email Encoding

 

When I go to insert the new records, I get an error that states the field name & "bad value for restricted picklist field".

 

Does anybody know the values that I should be using for the New York time zone, with an English (United States) locale, and standard email encoding?  Thanks!!

Best Answer chosen by Admin (Salesforce Developers) 
Devendra@SFDCDevendra@SFDC

 

 

Hi tgk1,

 

Try this,

 

Time ZoneLocaleLanguageLocaleKeyEmailEncodingKey
America/Los_Angelesen_USen_USISO-8859-1

 

Hope this helps.

 

Thanks,

Devendra

All Answers

Devendra@SFDCDevendra@SFDC

 

 

Hi tgk1,

 

Try this,

 

Time ZoneLocaleLanguageLocaleKeyEmailEncodingKey
America/Los_Angelesen_USen_USISO-8859-1

 

Hope this helps.

 

Thanks,

Devendra

This was selected as the best answer
tgk1tgk1

Worked perfect, thanks very much!

Devendra@SFDCDevendra@SFDC

 

Hi,

 

I am glad to know, the given solution has worked for you..:)

 

Cheers,

Devendra

BCEganBCEgan

Can I ask if you recall what field you mapped UserType to for the import? The available Data Loader fields don't have an obvious one for mapping the profile of the user.