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
YMMVYMMV 

skip required fields using SOAP API

Hi there,

We are using SOAP API to update the lead object. One of our customers have two custom fields under lead which is marked as "required" in his custom page layout. Those two fields do come with default value formulas. However, the formulas are not executed when the lead is created by salesforce Web-To-Lead, which seems expected according to this FAQ. In this case, our API update failed with "MISSING_REQUIRED_FIELD" even we do not intend to touch those fields at all. So is there a way to skip required fields during updating?

 

One observation is this customer installed the "salesforce for google adwords". I found the "LeadSource" is updated by "salesforce for google adwords" when the lead is created by "Web-To-Lead". This seems indicating there is a way to do that?

 

help appreciated!

 

thanks,

Jason