All Collections
Problem analyzers
Cannot remove all list views
Cannot remove all list views

Details around the problem analyzer suggestion

Ali Daw avatar
Written by Ali Daw
Updated over a week ago

This problem analyzer helps you safely delete list views from an object.

What triggers this problem analyzer?

Attempting to delete all the list views associated with an object.

What problem is it solving?

Salesforce doesn't permit an object to have no list views, so attempting a deployment that removes all the list views for an object will cause an error.

How does it work?

Gearset checks that every object will have at least one list view associated with it after the deployment. If not, this problem analyzer will be triggered.
โ€‹
Gearset will suggest removing all the list view deletions from the deployment package. However, you can also return to the comparison results page and remove a single list view for that object from the deployment package (meaning that the object will still have at least one list view) and therefore the deployment will be more likely to succeed.

Did this answer your question?