InfoPath表单无法提交到SharePoint列表

时间:2015-07-27 14:04:32

标签: sharepoint-2013 infopath infopath-forms-services

我目前正在尝试使用表单库中的InfoPath表单向SharePoint列表添加元素。表单本身包含许多其他信息,而不是列表中包含的信息,并显示列表中的几个项目。当我提交时,我收到以下错误:

Some rules were not applied.
InfoPath cannot submit the form.
An error occurred while the form was being submitted.
The SOAP response indicates that an error occurred on the server:

Exception of type 'Microsoft.SharePoint.SoapServer.SoapServerException' was thrown.
<detail><errorstring xmlns="http://schemas.microsoft.com/sharepoint/soap/">Element &lt;List&gt; of parameter listProperties is missing or invalid.</errorstring><errorcode xmlns="http://schemas.microsoft.com/sharepoint/soap/">0x82000000</errorcode></detail>

这是我正在使用的xml文件:

<?xml version="1.0" encoding="UTF-8"?>
<Batch OnError="Continue">
    <Method ID="1" Cmd="New">
        <Field Name='Title'></Field>
        <Field Name="FirstName"></Field>
        <Field Name="LastName"></Field>
        <Field Name="Email"></Field>
        <Field Name="Phone"></Field>
    </Method>
</Batch>

0 个答案:

没有答案