SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In SharePoint 2010, lists are set up to open modal dialog windows for item inserts and updates. I know these dialog boxes can be disabled on a list by list basis by going to List Settings -> Advanced and de-selecting the "Launch forms in a dialog" option. Is there a way to globally disable modal dialog windows for all lists, current and future?

share|improve this question
up vote 1 down vote accepted

You can change it with powershell. This might help you:

Get-SPScripts: Change SharePoint list settings using PowerShell - Part 2: Advanced Settings

The article shows how to change a list's Advanced Settings programmatically, and the table row at the bottom of the article entitled 'Dialogs' gives the property you're interested in. Putting the two together would give you:

#Change these variables to your site URL and list name
$site = Get-SPSite http://portal
$listName = "Shared Documents"

#Walk through each site in the site collection
$site | Get-SPWeb | ForEach-Object {

#Get the list in this site
$list = $_.Lists[$listName]

#Launch forms in dialog?
#Setting this to $true will set it to 'No' in the UI
$list.NavigateForFormsPages = $true

#Update the list

#Dispose of the site object
share|improve this answer
Works for me. Thanks! – stomcavage Jan 20 '11 at 15:14
Glad to know that, Please provide code sample which work for you. Will be helpful to others as well. – Anonymous Jan 21 '11 at 4:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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