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
GrantMGrantM 

Creating a self service user through the API

Hi
 
I am trying to create a selfservice user through the API.
I am having trouble with the restricted Pick Lists that are required.
 
If i don't specify these fields i get the error:
     Required fields are missing: [TimeZoneSidKey, LocaleSidKey, LanguageLocaleKey]
 
If i do specify them i get:
    TimeZoneSidKey: bad value for restricted picklist field: (GMT+00:00) Greenwich Mean Time (Europe/London)
 
That is a value i copied from the Drop Down options in the salesforce Front End.
 
How do i specify these fields values:
     TimeZoneSidKey,
     LocaleSidKey,
     LanguageLocaleKey
 
Thanks for any help in this matter
SuperfellSuperfell
See the picklistValues from the describeSObject call on SelfServiceUser (or look at them with sforce explorer)
GrantMGrantM
thanks
 
sforce explorer worked like a charm