Sharepoint 2007 - 导航文件夹

发布于 2024-08-21 21:13:41 字数 188 浏览 4 评论 0原文

我正在构建一个 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

洛阳烟雨空心柳 2024-08-28 21:13:41
  • 每个 SPWeb 对象都有一个名为 FoldersSPFolderCollection 属性
  • 每个 SPFolder 对象都有一个 SPFolderCollection属性名称 SubFolders

通过该属性,您可以查找 SharePoint 网站下的所有文件夹。

  • 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文