Anonymous Saving and Submitting InfoPath Forms to a SharePoint 2010 Document Library

Written by Sean Wallbridge on. Posted in MOSS 2007, Security, SharePoint, SharePoint 2010, WSS 3.0

Publish InfoPath forms as anonymous in SharePoint 2010

I had a customer request today that had the following business requirements:

   

  • SharePoint 2010 InfoPath Web Based Forms
  • Anonymous posting/submission of forms

       

   

011411 0038 AnonymousSa1 Anonymous Saving and Submitting InfoPath Forms to a SharePoint 2010 Document Library

By the way, this is not recommended of course.

But sometimes you have to do what you have to do, or because a customer insists icon smile Anonymous Saving and Submitting InfoPath Forms to a SharePoint 2010 Document Library

 

There are many resources that suggest that this is NOT SUPPORTED, and NOT RECOMMENDED. Including the dialog box itself reminding you of such.

 

   

011411 0038 AnonymousSa2 Anonymous Saving and Submitting InfoPath Forms to a SharePoint 2010 Document Library

   

   

First, I found these MOSS 2007 references

The first article was the clue… but the problem is, with the new Dialog Forms in SharePoint, I couldn’t simply change the URL in the Address bar. But I *could* still discover it.

 

   

Here’s how I achieved the same in SharePoint 2010

   

011411 0038 AnonymousSa3 Anonymous Saving and Submitting InfoPath Forms to a SharePoint 2010 Document Library

   

   

Notice the options are greyed out/unavailable…

   

011411 0038 AnonymousSa4 Anonymous Saving and Submitting InfoPath Forms to a SharePoint 2010 Document Library

   

   

The trick is to right click on the modal dialog and choose properties…

   

   

011411 0038 AnonymousSa5 Anonymous Saving and Submitting InfoPath Forms to a SharePoint 2010 Document Library

   

   

Select the URL for this Modal Dialog form…

   

011411 0038 AnonymousSa6 Anonymous Saving and Submitting InfoPath Forms to a SharePoint 2010 Document Library

   

   

Paste the URL into your browser and then replace the text DOCLIB with LIST

   

011411 0038 AnonymousSa7 Anonymous Saving and Submitting InfoPath Forms to a SharePoint 2010 Document Library

   

   

And then hit enter to submit the page with the modified URL, and then set your permissions (typically just Add Items, hopefully you aren’t allowing Delete ;)…

   

   

011411 0038 AnonymousSa8 Anonymous Saving and Submitting InfoPath Forms to a SharePoint 2010 Document Library

   

   

That’s it. The dialog will always show the newly checked ‘Add Items’ permission when you select the dialog in this manner. However, if you just click on the Anonymous Access button as always, it will still show the default behaviour/settings, as illustrated below.

   

   

011411 0038 AnonymousSa9 Anonymous Saving and Submitting InfoPath Forms to a SharePoint 2010 Document Library

   

   

   

   

Trackback from your site.

Sean Wallbridge

Sean Wallbridge, President and Principal Consultant of itgroove Professional Services Ltd, is a 6 time SharePoint MVP and Evangelist from Victoria, British Columbia, Canada. Sean likes to characterize himself as a “SharePoint Jedi” (there are no experts, just those who continue to explore the enormous ways of the SharePoint force) and there is no better way to describe Sean’s enthusiasm for SharePoint! Sean and itgroove specialize in bringing a rich, professional SharePoint experience to the small and mid-size companies that form the backbone of business in British Columbia and Canada. In addition to being a SharePoint MVP, Sean has a rich background in the Windows world and carries many certifications including CISSP, MCSE, MCT and MCSA. Sean has lived and worked internationally (Bermuda) and still carries on an international consulting practice from his base at itgroove in Victoria

Leave a comment