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 which has multiple record types, set to be visible, and none of the record types has set default to be true.

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 deployment or validation on Salesforce.

Did this answer your question?