SharePoint 内容定位,每个用户是否可以有多个视图?
我们的 SharePoint 网站有几个广泛的群体使用它。 本质上他们是管理者和用户。 我们有不同的选项卡可供不同的人查看。 我们现在要求经理能够暂时假装自己是用户,并查看用户通常会看到的内容。
我们想不出实现这种切换的方法,我们不希望管理者获得管理者和用户看到的所有选项卡,但能够按需切换视图。
如果用户能够猜测 URL,则不需要将他们排除在管理器内容之外,但同样,如果他们被排除,那么这不是一个大问题。
如果需要,我们可以编写代码,只是不知道从哪里开始!
编辑:对于两个受众来说,都有完整的子网站和信息页面,而不仅仅是同一页面上的内容。
Our SharePoint site has a couple of broad groups that use it. In essence they are managers and users. We have different tabs viewable to the different people.
We now have a requirement for Managers to be able to pretend for a while that they are users, and see what users would normally see.
We cannot think of a way of achieving this toggle, what we don't want is for managers to get ALL the tabs that managers and users see, but be able to switch views on demand.
It is not required that users are excluded from manager content if they can guess the url, but equally if they are excluded then that is not a big problem.
We can write code if required, we are just not sure where to start with this!
Edit: There are whole sub-sites and pages of info for both audiences, not simply content on the same page.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将管理员内容和用户内容放在单独的 div 中。 创建内容编辑器 Web 部件,并使用 javascript 根据查询字符串隐藏不相关的 div。 然后链接到:
这对于我的类似项目非常有效。
Put the manager content and the user content in separate divs. Create a content editor web part, and use javascript to hide the irrelevant div based on the query string. Then link to:
This worked really well for a similar project I had.