Ok, so here I am working along on my SharePoint list. I have this project list that I am using a SP 'Issue' type list for, because it keeps the historical information about what changes were made.
So, I decide that I am going to modify most of the views using FrontPage so that it no longer looks anything like a Sharepoint list. As you get to know me, you will realize that I absolutely dislike the SharePoint themes, and FrontPage themes. I need to make it look like what I want it to look like. ows.css is out too, or modified beyond all recognition.
Don't you love it when you right-click the list and "Customize SharePoint List Form" only to find that it has changed into what looks like a pool of question marks.
Anyway, my point is that I now know what it means to have worked on a list for so long, only to have lost it because you did something stupid and saved changes to 'DispForm.aspx', only to find out that it broke your whole list! How can one recorver DispForm.aspx? How can we restore DispForm.aspx?
Hopefully, you did not modify EditForm.aspx. If you did, you are almost SOL, but not quite. You can almost do the same thing using AddForm.aspx, however, you will not get the issue history like you can with EditForm.aspx.
Ok, so here is the solution:
- Open EditForm.aspx
- Right-click the list, (in design view), and select 'List Form Properties'
- Enable 'Display item form (used to view list items)'
- Save the file as 'DispForm.aspx' (or something else, if you like)
This should recover your list.
Niciun comentariu:
Trimiteți un comentariu