Max size of file attachment?

C

CC

What is the maximum file size that can be attached to an Infopath form
using the File Attachment control? Can it handle files that are 20
MB, for example? We are getting errors when we try to attach large
files.

Thanks in advance,
Carol
 
A

Andrew Watt [MVP - InfoPath]

What is the maximum file size that can be attached to an Infopath form
using the File Attachment control? Can it handle files that are 20
MB, for example? We are getting errors when we try to attach large
files.

Thanks in advance,
Carol

Carol,

I haven't tried to attach files that big.

Can you explain the use case and the error message you see? When does
the error message appear? What does it say?

Andrew Watt
MVP - InfoPath
 
S

Scott Roberts [MSFT]

There is no hard-coded maximum size. However, InfoPath will warn you
whenever you try to attach a file that is >= 1Mb. The warning is just to let
you know that files that are >= 1Mb may cause the performance of the form to
degrade significantly.
 
C

CC

Well, as a test I created a simple IP form with nothing more than a
File Attachment control on it, and published it to a Sharepoint Form
library. When I created a new instance of the form, it allowed me to
attach and save a 20 MB file to it. However, when I opened up the
saved instance and tried to open the attachment, the performance was
terrible. I'd say it took a minute or two to open the attachment.

Because of this perfomance issue, I'm looking into another approach.
Instead of actually attaching the large file to the form, I'd like to
save it in Sharepoint and be able to reference it from the IP
instance. Since the file names will always be different, I will need
to dynamically build a hyperlink or something.

If anyone has any high-level ideas/strategies for how to accomplish
this, I would greatly appreciate it.

Thanks,
Carol
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top