自定义列表表单的人员选取器功能更改 [英] People picker functionality changes for custom list forms

查看:88
本文介绍了自定义列表表单的人员选取器功能更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用默认列表表单并且它们包含人员选取器字段时,在您键入以搜索人员时,下拉列表中的选项按预期工作。如果在SharePoint Designer中创建新的自定义列表表单,则在键入时,相同的人员选取器字段不会有
的下拉列表。这基本上迫使完成表单的人使用地址图标然后搜索该人,选择他们,然后确认他们想要谁。  任何人都知道用
替换表单字段的内容,以便恢复内联下拉选项?以下是人员选择器字段的新列表自定义表单中的默认代码:



< SharePoint:FormField runat =" server" ID = QUOT; FF6 {$名次}" ControlMode = QUOT;最新及QUOT;字段名= QUOT;与会者" __designer:绑定= QUOT; {DDWRT:的DataBind( 'I',的concat( 'FF6',$ POS), '值', '的ValueChanged', 'ID',DDWRT:EscapeDelims(串(@ID)),'@与会者')}" />

< SharePoint:FieldDescription runat =" server" ID = QUOT; ff6description {$名次}"字段名= QUOT;与会者" ControlMode =" New" />



我们非常感谢任何帮助;)



解决方案


根据您的帖子,我的理解是人员选择器功能已更改为自定义列表表单。


人员选择器丢失其自动完成功能,并默认为默认表单以外的表单页上的旧样式。 / p>

要在自定义表单页面上保留自动填充功能,我们可以使用JavaScript自动填写人员选择器字段。


更多信息:


自动填写文本和人员选择器字段SharePoint JavaScripts


SharePoint人员选择器自动完成功能


SharePoint 2013 PeoplePicker通过JavaScript自动完成


最好的问候,


Linda Li


When using the default list forms and they include a people picker field, the dropdown list of options as you type to search for people works as expected. If you create a new custom list form in SharePoint Designer, the same people picker field does't have the dropdown list of options as you type. This basically forces the person completing the form to use the address icon to then search for the person, select them, and then acknowledge that's who they want.  Anyone know what to replace the form field with so that it restores the in-line dropdown option? Here's the default code in a new list custom form for a people picker field:

<SharePoint:FormField runat="server" id="ff6{$Pos}" ControlMode="New" FieldName="Attendee" __designer:bind="{ddwrt:DataBind('i',concat('ff6',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Attendee')}"/>
<SharePoint:FieldDescription runat="server" id="ff6description{$Pos}" FieldName="Attendee" ControlMode="New"/>

Any help would be greatly appreciated ;)

解决方案

Hi,

According to your post, my understanding is that People picker functionality changed for custom list forms.

People picker loses its autocomplete functionality and defaults to the old style on a form page other than the default form.

To keep autocomplete functionality on custom form pages, we can use JavaScript to autocomplete for people picker fields.

More information:

Autocomplete for text and people picker fields | SharePoint JavaScripts

Autocomplete for SharePoint people picker

SharePoint 2013 PeoplePicker Auto-Complete via JavaScript

Best Regards,

Linda Li


这篇关于自定义列表表单的人员选取器功能更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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