Anonymous Access with Infopath form
-
Monday, April 16, 2012 8:10 AM
I am facing issue while accessing infopath anonymously. Below mentioned are the steps I followed.
From infpath I selected Sharepoint List template
- I created a basic infopath form, no external data connection.
- Published the form which results in creation of a List in targeted site.
- Site is anonymous and I also have assigned anonymous permissions to the List itself.
- I added infopath form webpart on page. In webpart propertise I selected the List from the dropdown. Then I selected “NewForm” view from properties.
- When I open the form it gives form is closed.
- If access the site after login with a Visitor account (Readonly permission) it works fine. But not for anonymous.
Below mentioned are the errors w.r.t correlation id from logs.
Unknown SPRequest error occurred. More information
--->>
The XSN is null and its not a cross server issue. Most likely a permission issue
---->
Leaving Monitored Scope (EnsureListItemsData). Execution Time=9.71365880416895
"04
- Edited by smmuneeb Monday, April 16, 2012 8:11 AM
All Replies
-
Monday, April 16, 2012 10:18 AM
Submitting an InfoPath form requires adding a new XML document to a library. SharePoint prohibits the addition of documents to libraries by anonymous users. So anonymous users cannot submit Infopath forms to a SharePoint site. Take a look at the following article:
Paul Stork SharePoint Server
MVP Chief SharePoint Architect: Sharesquared
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.- Marked As Answer by Emir LiuMicrosoft Contingent Staff, Moderator Thursday, April 26, 2012 3:20 AM
-
Monday, April 16, 2012 10:29 AM
It is not a form library or document library. It is just a list. This list is created by designing Infopath form "Sharepoint List Template"as I mentioned in my 2 steps.
It is not submission of form but submision of Data to a list.
-
Monday, April 16, 2012 11:29 AMTake a look at the article I mentioned. It covers using Infopath forms for list forms as well. Based on the way Infopath works its still the same problem even though its a list.
Paul Stork SharePoint Server
MVP Chief SharePoint Architect: Sharesquared
Blog: http://dontpapanic.com/blog
Twitter: Follow @pstork
Please remember to mark your question as "answered" if this solves your problem.

