自定义编辑表单中的人员字段(悬停面板) [英] People Field in custom edit form (hover panel)
问题描述
您好,
在我们的环境中,我们在SharePoint Designer 2013中创建了自定义编辑表单。
在此编辑表单中,我们显示人员和组字段:
如果我将鼠标悬停在状态图像上,则悬停面板会弹出 - 这很好。
但如果我将鼠标放在人名上,则悬停面板会没弹出来。反正有没有让这种情况发生?
这可以通过Jquery悬停事件以显示自定义面板:
对于显示用户信息,您可以使用Rest API直接获取人员字段数据,然后显示用户名,电子邮件等:
SharePoint 2013:使用REST API从人员或组字段获取用户详细信息
谢谢
最好的问候
Hello,
in our environment we have a custom edit form created in SharePoint Designer 2013.
In this edit form we display a person and group field:
If I mouse my mouse over the status image the hover panel pops up - thats good.
But If I mouse my mouse over the person name the hover panel does not pop up. Is there anyway to make this happen?
Hi,
This can be achieved by Jquery hover event to show a custom panel:
For display user information, you could directly get the person field data with Rest API and then show user name, email etc:
SharePoint 2013: Get User Details from Person or Group field using REST API
Thanks
Best Regards
这篇关于自定义编辑表单中的人员字段(悬停面板)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!