提交附件时Infopath会很慢(SP 2016) [英] Infopath slow when submit with attachments (SP 2016)

查看:63
本文介绍了提交附件时Infopath会很慢(SP 2016)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,

我们有一个带附件选项的信息表格(从SP2010迁移),表格在SP2016的表格库中提交。当用户尝试附加25MB文件(最大)时,表单需要很长时间才能加载,有时表单正在超时。一旦附上
,提交也需要很长时间。有没有办法解决这个问题?

We have an infopath form with attachments option(migrated from SP2010) and forms are submitted in a form library in SP2016. When user trying to attach 25MB file (max) the form takes much time to load and sometimes the form is being timed out. Once attached the submission also taking long time. Is there a way to fix this issue?

提前致谢

推荐答案



Hi sundharvijay, 



众所周知,InfoPath表单附件大小限制为5MB,25 MB太大了。 



虽然InfoPath中的文件附件控件功能很强,但它确实会导致表单出现性能问题。  



有一个解决方案,即使用您自己的自定义代码将文件附件保存到SharePoint文档库,然后在表单中保存该文档的链接。 这意味着当文件实际上是
上传到文档库时(当它们在InfoPath中附加时),用户将会遇到轻微延迟,但打开并保存表单将很快,因为附件未存储在表单中。 br />


类似的问题帖子供您参考:



https://www.infopathdev.com/forums/t/18373.aspx



Best此致, 

$
Lisa Chen




Hi sundharvijay, 

As we known, InfoPath form attachment size is limited to 5MB, 25 MB is too lager. 

While the file attachment control in InfoPath is a great feature it can really cause performance problems in your forms.  

There is a solution and that is to use your own custom code to save the file attachment to a SharePoint document library and then save a link to that document in the form.  this means that users will experience a slight delay when the file is actually uploaded to the document library (when they attach in InfoPath) but opening and saving the form will be fast because the attachment is not stored in the form.

Similar issue post for your reference:

https://www.infopathdev.com/forums/t/18373.aspx

Best Regards, 

Lisa Chen



这篇关于提交附件时Infopath会很慢(SP 2016)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆