I migrated a doc library which had a custom form. On uploading a new document at the destination the new item form is blank. Can i remove this custom form and set to OOTB form?


Use this script to set default edit form and display form URLs.

$w = Get-SPWeb "http://sp2013/sites/test"
$l = $w.Lists["Documents"]

$l.DefaultEditFormUrl = "$($l.RootFolder.ServerRelativeUrl)/Forms/EditForm.aspx"
$l.DefaultDisplayFormUrl = "$($l.RootFolder.ServerRelativeUrl)/Forms/DispForm.aspx"


You should be able to go into the Library Settings > Form Settings and select Use the default SharePoint form

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.