自定义编辑表单中的人员字段(悬停面板) [英] People Field in custom edit form (hover panel)

查看:105
本文介绍了自定义编辑表单中的人员字段(悬停面板)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,


在我们的环境中,我们在SharePoint Designer 2013中创建了自定义编辑表单。


在此编辑表单中,我们显示人员和组字段:



如果我将鼠标悬停在状态图像上,则悬停面板会弹出 - 这很好。


但如果我将鼠标放在人名上,则悬停面板会没弹出来。反正有没有让这种情况发生?

解决方案


这可以通过Jquery悬停事件以显示自定义面板:


Jquery Hover事件


对于显示用户信息,您可以使用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:

Jquery Hover event

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屋!

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