Tuesday, August 16, 2016

Solving Change Set Error: Is Not a Valid Override for Action View

Recently,  I was promoting changes from a Sandbox org to a Production environment.  While my change set had a lot of items, they were all rather basic - custom objects, custom fields, tabs, page layouts and list views.

When validating my changes in the Production org, I encountered a rather unexpected error - Building_Record_Page does not exist or is not a valid override for action View.  In my case, Building was the name of one of my custom objects.

While I thought this was a straight forward item to resolve, my initial hypothesis on the source of the error was incorrect.  Here's my journey to find the root cause and resolve the issue.

TLDR - Just go to lightning record page for the object you are getting error for and activate the record page and assign it to specific users or as an org default. (Thanks Rahul Gawale)