Sharepoint Designer - Layout folder?

Ian Vink picture Ian Vink · Apr 8, 2010 · Viewed 20.8k times · Source

I have been told to edit this file in Sharepoint Designer:

/_layouts/KWizCom_WikiPlus/CreateNew.aspx

I found it in the Windows File Explorer at:

\12\TEMPLATE\LAYOUTS\KWizCom_Wikiplus

I can't seem to find it in Sharepoint Designer?

Answer

Rich Bennema picture Rich Bennema · Apr 8, 2010

The _layouts folder is protected by SharePoint Designer because changing the OOTB files in that directory puts SharePoint into an unsupported state. For more information, see here and here.

For custom or third party files under _layouts, if you try to open them directly with a URL (http://myserver/_layouts/KWizCom_Wikiplus/CreateNew.aspx), you will receive an error: Files in the _layouts folder are not available for editing. You can open them in SharePoint Designer with an UNC path rather than a URL (\\myserver\c$\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\LAYOUTS\KWizCom_Wikiplus\CreateNew.aspx), but at this point SharePoint Designer is not any different than Visual Studio or Notepad as you will probably only have Code View available since ~/ and virtual directory URLs will not be resolved.

I have not used Wiki Plus, but note that not only will this change affect all web applications and site collections on the server, but any changes you make will be wiped out if an updated version of Wiki Plus is deployed to the server.