Submitting InfoPath Forms to a SharePoint Library

This was a fun adventure that ended with me solving the problem and Microsoft support not responding.

Of all the ways to submit a form to a SharePoint library only one of them works according to MS. The simple way of using a Data Connection with stored credentials was not allowed as MS considered it a security risk. Doing a direct submit to the library is out too!

What's the only way?

Create your own web service and submit your form to it so it can use elevated privileges to save to the SharePoint library. That and the combination of either one of two things. Not precisely sure which one did it since I did both just to cover all bases.

Since I got it to work in my dev environment that was running on a VM with SP2 installed my boss determined, with pressure from our client, that we needed to install SP2 on the production server. A little premature since it hasn't been out that long and there was a least one major thing broken with the update. Yes the fix was simple, but it was a pretty big bug. See my other post on that one.

The other piece that was mentioned by other bloggers was to make a change to the registry that requires a restart.

In the end, one of the two fixed the issue and now my forms are being submitted successfully!

Comments

Popular posts from this blog

SharePoint SP2 - Beware! (Update)

Thumbnail View of Slides

Lockdown Your Web Site For Anonymous Users