Skip to main content

Powershell command for Enable SharePoint Designer Settings for SharePoint 2010 Web Application

  • Select the web app under Central Admin -> Manage web applications and on the button General Settings you find the Sharepoint Designer settings.

    • This can also be achieved with Powershell for example:

      $siteURL = “http://website.domain.com”
      $webApp = Get-SPWebApplication $siteURL
      $webApp.AllowDesigner = $true
      $webApp.Update()


      Edit accordingly for any setting you want to change of the four available:

      • $webApp(or $site).AllowDesigner = $true(or $false)
        $webApp(or $site).AllowRevertFromTemplate = $true(or $false)
        $webApp(or $site).AllowMasterPageEditing = $true(or $false)
        $webApp(or $site).ShowURLStructure = $true(or $false)

Comments

Popular posts from this blog

Publishing SharePoint List InfoPath Form to a new location

Needed to move it from Dev to Production. File > Publish > Export Source Files. Close InfoPath Go to folder where Source Files are saved, open Manifest.xsf.  Find all instances of the URL and replace them with the new URL - there should be five. If you have secondary data connections, update those also. I use Notepad++ and “replace all” so it just takes a second.  Save the manifest.xsf file and close. Now right click on the manifest.xsf and select Design to open it back up in InfoPath.  Click on File >Publish and verify the URL is correct in the “Publish form to a SharePoint List” section”.