Sharepoint 2007 - Navigation Folders
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 anywa开发者_如何学Goy 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
- Every
SPWeb
object has aSPFolderCollection
property namedFolders
- Every
SPFolder
object has asSPFolderCollection
property nameSubFolders
With that, you can find all folders under a SharePoint site.
精彩评论