Sharepoint 模板文件实际上存储在文件系统上吗?
我是 Sharepoint 新手,刚刚开始使用 Sharepoint Designer。 我对在 Sharepoint 设计器中看到的文件系统很好奇,它似乎没有出现在其他地方。
当我在 Sharepoint Designer 中打开 Sharepoint 网站,并看到所有列表的文件夹以及在其中创建的 Web 表单时,我实际上是在查看 Windows 文件系统吗? 或者这些虚拟文件实际上并不存在于文件系统上?
换句话说,当我在 Sharepoint 中创建一个新列表时,是否会将一堆模板文件(“AllItems.aspx”、“DispForm.aspx”等)写入文件系统中的某个位置? 如果是的话,在哪里?
我问这个问题是因为我进行了搜索,但在实际文件系统的任何位置都找不到我在 Sharepoint Designer 中看到的任何文件。
I'm new to Sharepoint and just starting to poke around with Sharepoint Designer. I'm curious about the file system I see in Sharepoint designer which doesn't seem to appear anywhere else.
When I open a Sharepoint site in Sharepoint Designer, and I see folders for all my lists, and the Web forms created within them -- am I actually looking at the Windows file system? Or are these virtual-ish files that don't actually exist on the file system?
Put another way, when I create a new List in Sharepoint, do a bunch of template files ("AllItems.aspx," "DispForm.aspx," etc.) get written to the file system somewhere? If so, where?
I ask because I searched and I can't find any of the files I see in Sharepoint Designer anywhere on the actual file system.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Deane,
本质上,您看到的是混合视图。 当您打开 SharePoint Designer 时,您实际上查看的是存在于两个不同位置的文件组合:
一般来说,了解任何给定文件所在的位置取决于该文件是否是自定义的。 事实上,非自定义文件(例如通过站点定义和功能配置的文件)确实存在于服务器文件系统中。 如果这些文件应通过编辑(例如,通过 SharePoint Designer)进行自定义,则编辑后的副本最终会出现在 SQL Server 内的内容数据库中,并与网站绑定。
MSDN 有一篇很好的文章,描述了 SharePoint 的虚拟化文件系统和我正在描述的自定义过程(我只是介绍它,但没有详细介绍)。 我建议查看这篇文章:
http://msdn.microsoft.com/ en-us/library/cc406685.aspx
我希望这有帮助!
Deane,
In essence, you're looking at a hybrid view. When you open SharePoint Designer, you're actually looking at a combination of files that exist in two different places:
Generally speaking, knowing where any given file resides is a function of whether or not the file is customized. Uncustomized files (such as those that are provisioned through site defintions and Features) do, in fact, live within the server file system. If these files should become customized through editing (e.g., through SharePoint Designer), the edited copy ends up in the content database within SQL Server and is tied to the site.
MSDN has a good article describing SharePoint's virtualized file system and the customization process I'm describing (I'm representing it without going into a lot of detail). I'd recommend checking out the article:
http://msdn.microsoft.com/en-us/library/cc406685.aspx
I hope this helps!
我认为它们位于 [server]/wwwroot/wss/virtualdirectoryofyoursharepoint 上,并且有关每个列表的信息保存在 Sharepoint 内容的数据库中。
I think they are on [server]/wwwroot/wss/virtualdirectoryofyoursharepoint and the information about each list is saved in the database of Sharepoint content.