I am having a really hard time using publishing any InfoPath forms to SharePoint.
Here are the steps I've taken:
- Created two document libraries. One called "Applications" (to store the completed forms) and one called "InfoPath Forms" (to store the form).
- Create a simple form from the "SharePoint Form Library" template.
- Create three fields: name, date, and question1.
- Create a submit button and create a data connection to my "Applications" doc lib
- Go to publish to SharePoint Server and enter URL (I've tried publishing site and team site)
- Select to publish as new Content Type
- Put in the URL to my "InfoPath Forms" doc lib
- Add the fields "name" and "date" as new columns
- Click "Publish" and I get an error:
InfoPath has encountered an error. The operation failed.
Find this in the Event Viewer:
Microsoft InfoPathInfoPath has encountered an error. The operation failed.
P1: 1200176
P2: 15.0.4420.1017
P3: aaw74P4:
Find this on the SP Server ULS Logs:
<?xml version="1.0" encoding="UTF-8" standalone="no"?><SOAP-ENV:Envelope xmlns:SOAPSDK1="http://www.w3.org/2001/XMLSchema" xmlns:SOAPSDK2="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAPSDK3="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><UpdateColumns xmlns="http://schemas.microsoft.com/sharepoint/soap/"><newFields><Fields><Method ID="3"><Field DisplayName="PTOApplicantName" ReadOnly="TRUE" Node="/my:myFields/my:ApplicantName" Type="Text" Group="Microsoft Office InfoPath" XName="{AB2443F6-2816-46D5-BA99-5813D1EAAFEB}"/></Method><Method ID="4"><Field DisplayName="PTODateApplied" ReadOnly="TRUE" Node="/my:myFields/my:DateApplied" Type="DateTime" Format="DateOnly" Group="Microsoft Office InfoPath" XName="{AB86C619-D8DC-4842-B629-BD4EFA063567}"/></Method></Fields></newFields><updateFields></updateFields><deleteFields></deleteFields></UpdateColumns></SOAP-ENV:Body></SOAP-ENV:Envelope>
No idea what I'm doing wrong. I've been able to successfully create a form for adding records to a SharePoint list, but I can't get the form library to work no matter what I do.
If I've left out any critical information please let me know! Thanks in advance for your help!!!