We have deployed a SP2013 site via powershell and notice that the list forms do not open in popups rather they open as page.

Is it possible via powershell to update all lists so that the new/edit/display forms open up in modal dialog?

Foll. is code provided by link Nadeem@Forum to enable it for 1 list:-

SPList.NavigateForFormsPages = $false

I guess it must be =$true, isnt it?

1 Answer 1


No SPList.NavigateForFormsPages = $false is correct. See this for more info: http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splist.navigateforformspages.aspx

A Boolean value = true indicates navigate the full page and false indicates that the list form page is launched in a modal dialog.

Here is an example of doing it for lists in a given web.

$web = Get-SPWeb -Identity http://aissp2013:111
foreach ($list in $web.Lists)
    $list.NavigateForFormsPages = $false;               
  • Hi Nadeem, can you give me some reference links where I can get powershell basics please. For example: iterating lists, getting item values..
    – variable
    Commented Feb 24, 2014 at 6:41
  • If you are able to right Server object model code in C#, then you should not find it difficult to learn PowerShell for SharePoint. Here in this example, I get list item attachments using Powershell and C#. See how similar they look. sharepointnadeem.blogspot.in/2013/08/… Commented Feb 24, 2014 at 6:52

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.