人员字段中不再存在该人员 [英] Person no longer existing in Person Field

查看:60
本文介绍了人员字段中不再存在该人员的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们在编辑和保存带有人"字段的项目时遇到问题,该人字段的值是地址"中不再存在的人名或Active Directory中不再存在的人名,因为这是我们的通讯簿获取名字的地方的用户. 我知道最简单的解决方案是在字段中手动删除现有用户,然后再次保存,但我们的要求是使其自动化.如果用户单击自定义的保存按钮,它将自动解决问题.我们有一个定制的 按钮以保存该项目,我们正在使用javascript进行保存.我进行了大量研究,没有发现任何线索来检查人"字段中定义的名称是否仍存在于地址"中.我们目前是javascript客户端,因此我们使用 Microsoft.Sharepoint.Client命名空间.谢谢


Densedy Isaguirre

Hi We are having problem in editing and saving an item with a person field with a value of a person name no longer existing in the Address or the name no longer existing in Active Directory since that's where our address book is getting the names of users. I know that the easiest solution is to remove the existing user in the field manually, then save it again, but our requirement is to make it automatic. In case the user click the customized save button it will automate fixing the problem. We have a customized button to save the item and we are using javascript to save it. I've done a lot of research and didn't find any clue how to check if the name defined in the Person field is still existing in Address or not. We are currently javascript Client side so we using the the Microsoft.Sharepoint.Client namespace. Thanks


Densedy Isaguirre

推荐答案

您的自定义javascript代码看起来有些问题,而不是表单中的个人"字段.
如果您在列表列中创建了人员字段,则确保选择了人员".要对此进行测试,请尝试OTB表单并检查保存和编辑模式.如果一切都可以使用OTB表单,那么百分之一的百分比可以确定Javascript的问题 代码.

It looks some issue with your custom javascript code not with Person field in the form.
If you have created the person field in the list column, then make sure you selected the "Person". To test this, try the OTB form and check the save and edit mode. If everything is work with OTB form, then its cent percent sure the problem with Javascript code.


这篇关于人员字段中不再存在该人员的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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