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

can we know whether a field is required by making api call?

We are trying to get the schema from salesforce to form it in our local. But currently, we can not know whether a field is required or not. Is there a way we could get this property by making API call?
Ron HessRon Hess
yes, you can get the describeSobject data to see field required