문제

I am customizing the newform.aspx, and now when I try to add another text-box SharePoint field and try to change the type to form field, the form field option don't appear in the drop down box. I think I accidentally overridden or deleted a few tags. How can I restore the newform.aspx to its earlier version?

도움이 되었습니까?

해결책

This link has step-by-step instructions to restore your newform.aspx. Open the broken form and another working form in SP Designer, remove the ListFormWebPart from the page, then copy the ListFormWebPart from the unbroken page. You also have to update the List GUIDs to make sure the web part is pointing to the correct list.

http://bborole.blogspot.com/2010/08/recover-broken-sharepoint-list-forms.html

As an aside, in future you could create a new form (or copy newform.aspx) and then use SP designer to point the list to the new form. This would allow you to recover more easily.

https://stackoverflow.com/questions/1614767/restore-newform-aspx-file

다른 팁

The best options is as follows:

  1. Simply delete the bad ListFormWebPart form page if it still exists
  2. Make a copy of one of your good ListFormWebPart form page
  3. Rename the copied ListFormWebPart to whatever the name of the bad one was

This is the best options because it basically restores you back to the factory default OOB ListFormWebPart instead of creating DataFormWebParts, which have their pros and cons.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top