您好。我需要帮助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创建弹出通知/警报?
发布评论