-
Notifications
You must be signed in to change notification settings - Fork 27
Renaming ViewModel classes
Simon Yohannes edited this page Oct 16, 2019
·
5 revisions
If you rename a ViewModel class, its pages will error and you won't be able to edit that page in the back office or view that page in the front end until you update the Type
property of the ViewModel and republish.
you can do this by visiting the the Settings->Orphaned Models page and mapping the old Type which no longer exists to a new Type from the available ViewModels.
Take care to select the right ViewModel for the new Type! also, backup your database before making this change!