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

NOT Null fields

How to check which fields that should not be empty in a table in sforce? Example, I get an error when I add a new contact with empty last name. Thanks.


John SaundersJohn Saunders
Use the describeSGlobal call and check to see if the field is nillable.
Call DescribeSObject and look at the fields collection.
thanks for the reply,
is there any tools has been made, such as: csPartnerSample which is able to check nillable field?