无法将新记录保存到共享点列表 [英] Unable to save new record to the sharepoint list

查看:83
本文介绍了无法将新记录保存到共享点列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在通过 Sharepoint 为我的公司创建休假系统.我尝试使用 powerapps 自定义编辑表单.因此,当我在 powerapp.png 中显示的编辑表单中填写所有记录,并像在普通共享点表单中一样单击保存按钮时,我的字段将重置为其默认值,并且我得到需要输入或无效值"(请参阅​​名为'powerapp.png') 并且该项目未添加到我的共享点列表中.

I am creating a leave system for my company through Sharepoint. I tried customizing the edit form using powerapps. So when I fill all the records in edit form as shown in powerapp.png, and click on save button as in normal sharepoint form, my fields get reset to their defaults and i get 'entry required or invalid value'(see the attachment named 'powerapp.png') and the item isn't added to my sharepoint list.

但是,如果使用如 normal_sharepoint.png 所示的普通共享点形式,记录确实会被添加到列表中.

However the record does get added to list if using normal sharepoint form as shown in normal_sharepoint.png.

注意:我在 powerapp.png 中创建了一个自定义文本字段,用于计算不包括工作日和周末的休假天数.(这是一个主要要求)

Note: I have created a custom text field in powerapp.png which calculates me the leave days excluding weekdays and weekends. ( this is a major requirement)

此外,我在我的共享点列表中启用了内容批准,因为该项目已发送给经理进行批准.因此,当我在普通共享点中打开编辑表单并且自动生成一些唯一 ID 时,总是会显示等于项目"的内容类型数据字段.但是我也启用了 powerapps 中的内容类型字段,但仍然出现相同的错误.

Also I have enabled content-approval in my sharepoint list because the item is sent to manager for approval. Hence a content-type data field equal to 'Item' always shows up when I open the edit form in normal sharepoint and some unique id is autogenerated. However I enabled the content type field in powerapps too but still the same error.

powerapp.png

normal_sharepoint.png

推荐答案

您需要确保已填写所有字段,因为带星号的是必填字段.同样在 powerapps 上每个字段的数据卡上,如果任何字段不是 cumpolsory,您可以将 required 属性更改为 false

You need to ensure you have filled out all the fields as those asterisked are Required fields. Also on the datacard of each of the fields on powerapps, you can change the required property to false if any of the fields is not cumpolsory

这篇关于无法将新记录保存到共享点列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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