This project is read-only.

Deleted Custom Forms Content Type - by mistake

Topics: Administration, Core, Customizing Orchard, General, Installing Orchard
Dec 11, 2013 at 7:53 PM
I deleted by mistake the Custom Form - Content Type.

Now, upon upgrading to latest Custom Forms that are now named "Forms" on Admin menu, get an exception.
Line 53:                 </tr>
Line 54:             </thead>
Line 55:             @foreach (var entry in Model.CustomForms) { 
Line 56:            <tr>
Line 57:                 <td>

Source File: \Orchard.CustomForms\Views\Admin\Index.cshtml    Line: 55 
Any idea how to resolve this issue?

Dec 12, 2013 at 8:05 AM
Your best bet is probably to restore a backup.
Dec 12, 2013 at 8:15 AM
Edited Dec 12, 2013 at 8:17 AM
Thanks. I had to restore a new copy of Orchard.

Is there a best practice on taking backups of Orchard DB?

Dec 14, 2013 at 12:24 AM
you should be able to do standard sql backups of your database if you are using sql server. For making copies of my develpment database I use this tool:
Dec 14, 2013 at 11:36 PM
Thank you.