When using a file attachment control on a InfoPath form as part of a SharePoint workflow I get the error "The selected files was not found".
+2
A:
Found this online somewhere but can't find it again to link. You need to modify the following file:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\LAYOUTS\WrkTaskIP.aspx
Add:
<script type="text/javascript">aspnetForm.encoding = "multipart/form-data";</script>
into the file just before the first table opening tag. iisreset and then the attachment control of the form should work when hosted inside a workflow.
Dan Revell
2008-10-09 21:03:18
A:
when i put the script code in this file, the form say to me error... and do not work...
when i modify this file, don't work...
i need help.. sorry i dont write english, but i read very well... respond to me in english...
thanks..
Sergio
2009-10-09 18:37:36
You'll need to be more specific about the error that it gives you
Dan Revell
2009-10-09 19:15:28