使用 SharePoint 子网站和受众来定位内容...如何?

发布于 2024-07-26 06:11:20 字数 136 浏览 0 评论 0原文

我想根据用户所在的“受众”在 SharePoint 网站的顶部导航中显示不同的选项卡。我可以对页面执行此操作,但对于子网站我找不到选项。 谷歌搜索揭示了一种解决方法,隐藏子网站并添加指向子网站 URL 的链接。

一定有比这更好的方法!

I would like to show different tabs in the top navigation of a SharePoint site depending on what 'Audience' the user is in. I can do this fine for pages but for subsites I cannot find an option. Googling reveals a work around, hiding the subsite and adding a link to the subsite URL.

There has to be a better way than this!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(1

樱花落人离去 2024-08-02 06:11:20

实现此目的的唯一方法是实际使用 Sharepoint 中的用户组。 观众只不过是一种展示形式:没有; 就像在 CSS 中一样。 如果您知道 URL,您仍然可以访问。 SPWeb 只知道允许安全对象(SPUSer / SPGroup)访问它......

The only way to do this is by actually using Usergroups in Sharepoint. Audiences are nothing more than a form of display:none; like in CSS. If you know the URL, you still can get access. SPWeb knows only about allowing security objects (SPUSer / SPGroup) access to it...

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