使用 SharePoint 子网站和受众来定位内容...如何?
我想根据用户所在的“受众”在 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
实现此目的的唯一方法是实际使用 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...