[英]"The selected files was not found" on an InfoPath form in Sharepoint
在 InfoPath 表单上使用文件附件控件作为 SharePoint 工作流的一部分时,我收到错误“未找到所选文件”。
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 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.
iisreset 然后表单的附件控件在工作流中托管时应该可以工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.