Problem
The default OOTB edit form for a particular document library (or for any list for that matter) has been lost, revised, edited, or whatever, such that the form no longer features the standard default List Form Web Part. This is the list form web part (LFWP) that only displays the three fields, like so:
Because of these changes, certain fields are no longer displayed or displayed in a way such that they are not as usable as before. For example, the Name field may display the filename now only as a read-only text, and not in an editable text box. Other fields may not even be displayed. There may also be a break between the ability to change column ordering using the features on the document library's or list's Settings page. Whatever the case may, you want to get the original OOTB edit form back. Here's how. You'll need SharePoint Designer 2010 to do it.
Solution
The default OOTB edit form for a particular document library (or for any list for that matter) has been lost, revised, edited, or whatever, such that the form no longer features the standard default List Form Web Part. This is the list form web part (LFWP) that only displays the three fields, like so:
Because of these changes, certain fields are no longer displayed or displayed in a way such that they are not as usable as before. For example, the Name field may display the filename now only as a read-only text, and not in an editable text box. Other fields may not even be displayed. There may also be a break between the ability to change column ordering using the features on the document library's or list's Settings page. Whatever the case may, you want to get the original OOTB edit form back. Here's how. You'll need SharePoint Designer 2010 to do it.
Solution
- Launch SharePoint Designer 2010.
- Connect to the target site.
- On the Navigation pane, at left, click Lists and Libraries.
- On the Results pane, click on the target list or library. The Results pane will change to show the properties and objects associated with the list or library you clicked.
- Look for the Forms group. It will list all of the New, Edit and View forms created for this list or library. If this is for a library, you will also see an Upload form item listed there too.
- Click the New... button for this group.
- Enter a name for this new default edit form, and the select the Edit item form option.
- Click OK.
- This dialog will close and a new edit form will appear listed in the Forms group.
- Click this item to open it in edit mode. What you will see is all of the fields layed out nicely. This is the DataForm Web Part. You don't want this.
- Click anywhere in this form. You'll see the DataFormWebPart title appear just above this form.
- Select this title. This then selects the entire web part.
- Click the Delete key.
- Click anywhere inside the now empty web part zone.
- Up above, select the Insert ribbon.
- In the Controls group, click the SharePoint item. A dropdown will open.
- Click List Form..., down at the bottom. The List or Document Library Form dialog appears.
- Select the target list or document library, and then select the Edit item form option. Leave the Show standard toolbar option checked.
- Click OK. This inserts the LFWP onto the page.
- Save the page.
- On the Forms group, select the new edit form listed there (don't click on the filename itself). This updates the ribbon.
- On the ribbon, select the Forms tab.
- Click the Set as Default button.
- Test.
1 comment:
Perfect - worked like a charm! Thanks so much!
Post a Comment