开发者

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 a SPFolderCollection property named Folders
  • Every SPFolder object has as SPFolderCollection property name SubFolders

With that, you can find all folders under a SharePoint site.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜