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
fouloxfoulox 

Required fields in sForce 2.0

How do I tell which fields are required by the API, and which fields are set as required by the administrator through the setup section on the www.salesforce.com site? I just ran a describe call, and I don't see it there.
DevAngelDevAngel

Hi Lou,

The work around is to make a describe call using API 2.0.  We will be patching the web service to include the required field.

DevAngelDevAngel

Hi Lou,

I have some new information on required fields.  Although you still cannot get to layout info from 2.5, you can use a combination on not nillable and createable to determine "system" required fields.

Cheers