如何为Sharepoint创建弹出通知/警报? [英] How to create pop-up notification / alert for Sharepoint?

查看:91
本文介绍了如何为Sharepoint创建弹出通知/警报?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好。我需要帮助Sharepoint。

Hi. I need help with Sharepoint.

场景:A无法访问系统,但B仍然可以选择A作为收件人。

Scenario : A do not have access to the system, however B is still able to choose A as the recipient.

如何创建弹出通知/警告以告知用户选择了错误的用户等。? 

How can I create a pop-up notification / alert to tell user that wrong user is selected etc..? 

谢谢。




推荐答案

你好xangiex,

Hi xangiex,

你在哪里获取弹出警报/通知?或者您希望触发警报/通知的操作?

Where did you get the pop-up alert/notification? Or what operation did you want to trigger the alert/notification?

无论如何,如果要在单击SharePoint按钮时显示警报,可以使用jQuery / JavaScript来获取用户,检查他/她是否具有网站权限。如果用户没有权限,您可以设置一个对话框来提醒它。

Anyway, if you want to show the alert when clicking a button of a SharePoint, you can use jQuery/JavaScript to get the user, check if he/she has permissions on site. If the user does not have permissions, you can set a dialog to remind that.

此外,假设您使用用户列存储用户,您可以将其设置为从SharePoint组中选择,并非所有用户。

In addition, assuming you store the user using a user column, you can set it to choose from SharePoint group, not all users.

谢谢,

Wendy


这篇关于如何为Sharepoint创建弹出通知/警报?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆