7

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 Answers 2

3

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.

1
  • 2
    mdmazzotti, you can change it from designer UI , as mentioned by prasad
    – samolpp2
    Feb 5, 2017 at 0:44
10

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

1
  • 1
    @Tschareck while the marked answer works, I think this should be the selected answer.
    – Joe B.
    Jan 30, 2020 at 17:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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