[英]Sharepoint 2007 - Navigation Folders
I am constructing a SharePoint website and we have a navigation menu bar showing links to pages within a site. 我正在构建一个SharePoint网站,我们有一个导航菜单栏,显示指向网站内页面的链接。 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.
我们有一个站点“ abc”,并且其中有一些页面,我们在导航文件夹中放置了一些页面,以使他们有一个错觉,即它们不是一个新站点。 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 谢谢
SPWeb
object has a SPFolderCollection
property named Folders
SPWeb
对象都有一个名为Folders
的SPFolderCollection
属性。 SPFolder
object has as SPFolderCollection
property name SubFolders
SPFolder
对象都有一个SPFolderCollection
属性名称SubFolders
With that, you can find all folders under a SharePoint site. 这样,您可以在SharePoint网站下找到所有文件夹。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.