Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Sharepoint Designer - Layout folder?

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?

like image 262
Ian Vink Avatar asked Apr 08 '10 13:04

Ian Vink


People also ask

Where is the _layouts folder in SharePoint?

The _layouts folder is a virtualization of a folder from the 12 Hive, typically C:\program files\common files\microsoft shared\web server extensions\12\template\layouts\. Every SharePoint site in the farm serves _layouts files directly from this physical path.

Can you create folders in SharePoint?

Create a folder in SharePoint. Go to the SharePoint site, and where you want to create a new folder, open the SharePoint document library. On the menu bar, select + New, and then select Folder. If you don't have folders as an option on the + New menu, they may be turned off.

How do I change the layout of a SharePoint Webpart?

You can change a page's Page Layout after you have logged in and are editing the page (click the Edit icon or click on the Site Actions dropdown menu and select Edit Page). In the ribbon, click on the Page tab and click the Page Layout dropdown. Select the layout you want and wait for the page to refresh.

Can you create a private folder in SharePoint?

To make a document or folder private again, you can stop sharing it. Select the people icon for the document or folder to open the Share dialog box. In the Shared With dialog box, select Can view or Can edit next to the person you want to stop sharing with, and then select Stop sharing.


2 Answers

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.

like image 148
Rich Bennema Avatar answered Oct 21 '22 00:10

Rich Bennema


This file is effectively present in every site at http::/{site url}/_layouts/KWizCom_WikiPlus/CreateNew.aspx. To change it across all of them you would edit the file from the file system.

There are many reasons why editing the file on the file system may be a very bad idea. At minimum you might save a copy of the original and the updated file. Better still, you could put any file you're editing this way under version control.

like image 22
Jason Weber Avatar answered Oct 20 '22 22:10

Jason Weber