Forum Discussion
mcmatt
Apr 06, 2020Copper Contributor
Restore Modern Form
Was diagnosing an issue with a List, and initially thought it was due to the NewForm.aspx. In the course of "fixing" the issue, I deleted NewForm.aspx using Sharepoint Designer and created a fresh one.
Turns out my original issue was something else entirely and I've resolved that.
However, my new NewForm.aspx created in Sharepoint Designer created it in Classic Style, and I can't figure out how to get back to the Modern form. The classic form works, but I would prefer it back in the Modern look. How would I go about restoring this?
Thanks.
- Swaminathan SriramIron ContributorHi,
It is not recommended to delete or make any changes to Modern List Forms via SharePoint Designer. Since you had deleted the OOTB NewForm via SharePoint Designer, there isn't a straightforward way to restore back to the initial modern form in your existing modern list.
One of the workaround option for the existing list would be to click on the Customize forms option that is available in the PowerApps drop-down in your list view command bar and then you can publish the NewForm which comes up in the PowerApps screen to your list which will provide modern experience similar to OOTB.
Other option, would be to navigate to your Site Contents-> Create New List -> Select "From an existing list" -> Choose your current existing list -> Then create. This will create a new empty list with all the Columns, Views and formatting which gets copied to your new list but this doesn't copy the items. For copying/moving all the items, you would then be required to create a Flow or use PnP PowerShell script, if you have lots of items and attachments.
Note - If you try the other option of Saving List as Template with content which is available in List Settings, still it would be exported with your custom classic newform and the default new item would still open your classic custom newform only.
I hope this helps.
Thanks.