I have done some changes(cascading) in my list form due to which my save and cancel buttons are removed from my form . Now I want to get them back.
1 Answer
If you are working default list forms and you are victim of some unwanted changes and you want to revert the form to original then you can do this by following some of simple steps.
Solution-1:
- Open any existing form that is perfectly working from other list.
- Remove
ListFormWebpart
from broken page "<WebPartPages:ListFormWebPart ... to</WebPartPages:ListFormWebPart>
" - Copy ListFormWebPart from unbroken list page open in previous and paste it into the broken form
- Paste the List GUID in <ListName ... between the { and }.
- Generate a form GUID from Visual Studio or click here to generate new GUID and paste it into the __WebPartID="{[Form GUID]}" > and the g_[Form GUID]
- Save the page and refresh the list in your browser. The page should now be reverted to original
You can find detail information from here.
Solution-2:
- Navigate to the list in SP Designer.
- In the "Forms" Group click on "New" on the right of the groups title menu
- Give it a name and select the type of form you want to re-create. (New, Edit or Display)
- Check the "Set as default form for the selected type" box
- Press OK.
This solution I checked at my end. It worked.