This analyzer helps resolve issues for profiles where you have multiple recordTypeVisibilities for an object but none have been set to default in a profile.

What triggers this problem analyzer?

If you have an object in a .profile file that has multiple record types set to be visible, and none of the record types has set default to be true, this problem analyzer will be triggered.

Example: An object has two record types, but in the profile both have visible as true and default as false for each recordType.

What problem is it solving?

If you do not set a default or set all visibility to false, validating or deploying to Salesforce will fail.

How does it work?

Gearset will give the option to set visibility to false for all the record types, which will allow the Salesforce deployment or validation to succeed.

Did this answer your question?