InfoPath upload Multiple attachment solutions

Source: Internet
Author: User

A few days ago, due to the requirements of the project, you need to upload more than one attachment in InfoPath, when I design the form with a repeating table. Thought, the customer's demand has been very easy to fix, did not expect when I was testing the time. Found that InfoPath has a maximum capacity of 5M when uploading attachments at one time

No way, I had to think of a different solution. Then the idea is to break the attachment in the InfoPath form and upload it to the Moss document library before submitting the form.

This can not solve the problem of attachment upload, but also to avoid the large size of the form of the problem, is to kill two birds with one stone

The deletion of attachments is also supported

First look at the design of the form, two repeating table, one is to upload multiple attachments, the other is to store the list of uploaded attachments

When you see that the upload attachment list already has the data, you can go to the corresponding document library to find the attachment uploaded in InfoPath, such as the icon has "new" word is the attachment in InfoPath is decomposed

Effect diagram, that's it, here's the end of the Code section

The main technical point in the Code section is the decomposition of the InfoPath attachment and the operation of the InfoPath repeating table

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.