SharePoint 内容定位,每个用户是否可以有多个视图?

发布于 2024-07-25 08:32:24 字数 324 浏览 0 评论 0原文

我们的 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 技术交流群。

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

发布评论

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

评论(1

蓝色星空 2024-08-01 08:32:24

将管理员内容和用户内容放在单独的 div 中。 创建内容编辑器 Web 部件,并使用 javascript 根据查询字符串隐藏不相关的 div。 然后链接到:

mypage.aspx?page=manager

这对于我的类似项目非常有效。

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:

mypage.aspx?page=manager

This worked really well for a similar project I had.

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