4

I have custom forms for my list.

enter image description here

How to change default display/edit/new forms to those files with "-ifs.aspx" ?

Even better, can I do this without using SharePoint Designer? Is it possible to set default forms from web UI or maybe with PowerShell?

2

Using powershell, should be something like:

$web = Get-SPWeb http://path/to/web
$list = $web.GetList("/server/relative/path/Lists/ListUrl")
$list.DefaultDisplayFormUrl = "/server/relative/path/Lists/ListUrl/displayifs.aspx"
$list.DefaultEditFormUrl = "/server/relative/path/Lists/ListUrl/editifs.aspx"
$list.DefaultNewFormUrl = "/server/relative/path/Lists/ListUrl/newifs.aspx"

You cannot change these properties from the UI.

  • mdmazzotti, you can change it from designer UI , as mentioned by prasad – SaMolPP Feb 5 '17 at 0:44
6

You can set it as default from SharePoint Designer 2013 as well. You need to select the form and then it will enable the "Set as default" button control in the Ribbon.

enter image description here

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.