Sharepoint 2007 - 导航文件夹
我正在构建一个 SharePoint 网站,我们有一个导航菜单栏,显示网站内页面的链接。我们有一个网站“abc”,其中有一些页面,我们将一些页面放在导航文件夹中,以给人一种它们是新网站的错觉,但事实并非如此。无论如何,有没有告诉你在一个文件夹中,你可以使用“有子节点”,它可以完成这项工作,但我只需要进入有文件夹的地方,而不是整个其他站点。
谢谢
I am constructing a SharePoint website and we have a navigation menu bar showing links to pages within a site. We have a site “abc” and within that there are pages, we are putting some within a navigation folder to give the illusion that they are a new site except its not. Is there anyway to tell that you are in a folder, you can used the “has child nodes”, which does the job but I need to only go down where there is a folder and not a whole other site.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
SPWeb
对象都有一个名为Folders
的SPFolderCollection
属性SPFolder
对象都有一个SPFolderCollection
属性名称SubFolders
通过该属性,您可以查找 SharePoint 网站下的所有文件夹。
SPWeb
object has aSPFolderCollection
property namedFolders
SPFolder
object has asSPFolderCollection
property nameSubFolders
With that, you can find all folders under a SharePoint site.