Hi, I am very new to InfoPath so don't have detailed information on how certain things work. Your patience will be greatly appreciated.
Currently we are developing an InfoPath form with an attachment control inside. The form is submitted to a SharePoint 2010 form libary. The user has restrcited contribute permissions to the library, i.e. Contribute permissions but have taken out Edit and Delete items. So the user can't edit or delete an exsting item.
When the user submit the form without an attachment, everything works fine and as expeted and the form is submited into the library.
However, when a file is attached into the form, at submit the user gets a message as below and the form freezes.
| The form cannot be submitted because of an error. |
|
Click OK to resume filling out the form. You may want to check your form data for errors.
The form cannot be submitted to the specified SharePoint list or document library. The SharePoint location may be read-only or you may not have permissions to access it.
Interestingly the form is submitted with all data and attachment inside to the form library. So the message seems to be a false message. If I change the user permission to include edit as well, then it works fine too.
I would like to know what difference does having and not having an attachment makes on how the form is submitted back into the libaray? Because even with the message the form and the attachment are successfully submitted back. Is there another operation after the submit which tries to edit something?
Any informaiton will be greatly appreciated. Thanks in advance.
T |
|