We've introduced a minor change related to layout rules: mandatory fields to be checked for APIs.
Using layout rules, you can configure conditions and define actions to be taken, like showing fields, showing sections, showing subforms, and setting mandatory fields for contextual data collection.
For example, if a lead in an organization is from the USA, "SSN" could be a mandatory field. However, if the lead is from a different country, the field shouldn't show up. This can be achieved using a layout rule that determines that the "SSN" field should only show up when the "Country" is set to "USA". The field can also be set as mandatory.
With this enhancement, the "Set Mandatory Field" action of Layout Rules will be supported in APIs with version 2.0 and above. Henceforth, while adding or updating records through APIs, if the criteria for a layout rule are met, the fields will be defined as mandatory and it will not be possible to add or update the record.
That's it for the enhancement. Read our help docs
to learn more about creating layout rules.
P.S. These enhancements are available for all users in all DCs.