Anonymous Form Submission with SharePoint 2010

I had a colleague ask me for help regarding anonymous form submission to a SharePoint 2010 list.  At first this had me scratching my head, all the permissions were set correctly, however after sleeping on the problem I realised I had seen exactly this before, and if I’d seen it before maybe I had blogged about it?

Well it turns out I had, however it had not come across from the migration from the old blogging platform I had previously used to WordPress when I came over here about 18 months ago.  A quick republish and https://mrhodes.net/2008/08/08/anonymous-access-to-lists-in-moss/ was online.

Fortunately the bulk of this article is still valid, however as it is SharePoint 2010 it makes more sense to do this operation in PowerShell :

In case the text isn’t clear :

Get-SPFeature -Site http://www.sitename.com | ?{$_.DisplayName -like “*lock*”}
Disable-SPFeature -id <<Insert ID from Previous Command>> -Url http://www.sitename.com

The only “Gotcha” with this is that much like in MOSS 2007 you must toggle your Anonymous access settings before this will take effect.  To do this, I quickly set the anonymous access on the site collection to “Nothing” then immediately set it to “Entire Web Site”

Advertisements

One Response to Anonymous Form Submission with SharePoint 2010

  1. Alex says:

    Can waste a lot of time with this particular SharePoint “gotcha”. The net is somewhat clueless about this. Nice post – thanks Mark!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: