Skip to main content

How to How to Edit Objects with an excessive number of custom fields rule

Written by David Martin
Updated this week

The Objects with an excessive number of custom fields rule is intended to reduce clutter and help prevent performance issues. It is triggered when a custom object contains more custom fields than the defined maximum threshold, which is set to 50 by default.

We recognize that different teams may work in different ways, so this threshold can be adjusted to better align with your team’s specific needs and development practices.


How to adjust the number of custom fields that trigger the rule

Code Reviews allows you to change the parameters for the "Excessive number of Custom fields". To change the maximum number of methods that trigger this rule, you can:

  1. Navigate to the Admin Tools from the Code Reviews homepage and select Policies.

  2. Find the Engaging policy and click on the pencil icon next to it. This policy contains the "Excessive number of custom fields" rule.

  3. From there, you can adjust the specific parameter for the number of Custom fields allowed before the rule is triggered.

This process lets you customize policies to align with your team's specific coding standards and avoid having an excessive amount of custom fields.


Did this answer your question?