How to Access Sharepoint 2007/2010/2013 _layouts folder

拈花ヽ惹草 提交于 2019-12-31 11:45:10

问题


I'm trying to insert some data in the location mysiteurl/_layouts/

'cause I had to use a third part software which uses data stored in that folder... I'm admin of the machine (Sharepoint 2010 on Windows server 2008R2) but the Sharepoint said I cannot access directly to that folder...

Is there any trick to insert data in that specific folder?


回答1:


If you're using SP 2007 the folder path is:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\TEMPLATE\

Sharepoint 2010 layouts folder path is:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\

If you're using SP 2013 the folder path is:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE\

If you're using SP 2016 the folder path is:

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\TEMPLATE\



回答2:


  1. open IIS in SharePoint Web Front End

  2. open sharepoint site and under that look for _layouts folder (Virtual Directory)

  3. click Explore and actual server location will be opened

something like below address will be opend in sharepoint 2013 (office 15)

C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\TEMPLATE

Extra useful info: you can easily put any assets files including your js, css and Images here , it is much better that loading it to SharePoint which cause WSS database hit every time they are needed

MSDN _Layouts Page

The _layouts virtual directory is available as a subfolder of every SharePoint Web site, which makes it easy and convenient to refer to _layouts files such as images or ECMAScript files (JScript, JavaScript) by using relative paths. Support Details Pages stored in the _layouts folder are available globally on the server



来源:https://stackoverflow.com/questions/7956448/how-to-access-sharepoint-2007-2010-2013-layouts-folder

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!