Multiple file attachments in InfoPath 2010 Form

I need to attach at least 10 files in an Infopath form and it submits to a form library. is there any limit for attaching multiple files in a form and how can i increase the size for multiple File Attachments in Central Admin?

Hi fadnan,
For every web application, the document upload limit is the combined limit of all attachments that can be added to a list item. This is in the General settings for your web application in Central Admin.
In case of Infopath forms, it depends upon user session. You can view this setting in Central Admin > General Application Settings > Infopath Forms Services > Configure Infopath Form Services. Scroll down to User Sessions.
By default "Maximum size of user session data" is defined as 4MB but you can increase this limit to upload larger files. Hope it helps.
Regards, Kapil ***Please mark answer as Helpful or Answered after consideration***

Similar Messages

  • Filtering a sharepoint 2010 list using Multiple values from Multi-Select Filtering In Infopath 2010 form

    I am creating a browser based InfoPath 2010 form Calendar Filtering
    using SharePoint 2010 Calendar List (All Events) and InfoPath 2010.  This form has data connection to the Calendar list. Goal is to
    compare Calendar Events from Current Year to Previous Year. I have 2 columns called - Previous Year and Current Year. I have 2 drop-down controls in each columns called
    Select Year  and Select Week. I also have common drop down called
    Select Category which holds category of the events such as weather, power outages and so on. I wish to display specific events on specific date and specific week on both columns.
    I am able to filter the list based upon Year and Week
    on both these columns by applying rules in the InfoPath 2010 form. The real issue is that I want to apply category filter on the search result of
    Year and Week. Or it needs to show all the values if I
    select Category value as All. So I wish to apply filter on Search results using Category drop-down list selection.
    Hope I could explain this better but I tried to do the best here. Any suggestions, hint, or pointers
    Thanks
    Snehal H Rana
    Thanks Snehal H.Rana SharePoint Consultant

    I am creating a browser based InfoPath 2010 form Calendar Filtering
    using SharePoint 2010 Calendar List (All Events) and InfoPath 2010.  This form has data connection to the Calendar list. Goal is to
    compare Calendar Events from Current Year to Previous Year. I have 2 columns called - Previous Year and Current Year. I have 2 drop-down controls in each columns called
    Select Year  and Select Week. I also have common drop down called
    Select Category which holds category of the events such as weather, power outages and so on. I wish to display specific events on specific date and specific week on both columns.
    I am able to filter the list based upon Year and Week
    on both these columns by applying rules in the InfoPath 2010 form. The real issue is that I want to apply category filter on the search result of
    Year and Week. Or it needs to show all the values if I
    select Category value as All. So I wish to apply filter on Search results using Category drop-down list selection.
    Hope I could explain this better but I tried to do the best here. Any suggestions, hint, or pointers
    Thanks
    Snehal H Rana
    Thanks Snehal H.Rana SharePoint Consultant

  • Export/Convert Browser Based Infopath 2010 forms to PDF/Excel/Word

    Hi,
    Is there an OOB, way of converting browser based Infopath 2010 forms to PDF/Word/Excel.
    In case there isnt, can anyone please point me to a coded or a programmatic way of implementing the same. 
    Soptik Dutta

    Hi Soptik,
    As far as I know, we can only save an InfoPath form as PDF/Excel using InfoPath Windows form application(rather than Broswer-based InfoPath).
    In this case, we can
    Open the library that save the forms
    Selec the form that is wanted to be PDF/Excel(Just select it, don't open it)
    Click the "inverse trangle", and then click "Edit in Microsoft InfoPath"
    In InfoPath, click "File" > "Save & Send" to save the form as PDF/Excel
    In this following thread, there are some code snippets, which will help you to export an form to PDF using custom code:
    http://www.infopathdev.com/forums/t/8746.aspx?PageIndex=1
    Please feel free to ask, if you have any more questions.
    Thanks,
    Jinchun Chen
    Jinchun Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact tnmff AT microsoft.com(Please replace AT with @)

  • Is possible to capture the SP username of who is making submission of the data from an InfoPath 2010 form?

    Hi all,
    Does anyone know how to capture the SP username of who is making submission of the data from an InfoPath 2010 form? I looking to avoid the user need to type extra information like username/ manager name, etc; and then use code behind to be doing validation
    before to push that data to an sql server.
    Any suggestion , book reference , link is acceptable 
    thanks in advance
    CRISTINA& MICROSOFT Forum

    Hi Cristina,
    Please check the following article with using web service UserProfileService.asmx to get the current user profile in InfoPath code behind and use the validating event to do some complex validation, it should help.
    http://blogs.msdn.com/b/infopath/archive/2007/03/07/get-the-user-profile-through-moss-web-services.aspx
    http://codesupport.wordpress.com/2010/04/05/sharepoints-userprofileservices-getuserprofilebyname-method/
    http://www.bizsupportonline.net/infopath2007/infopath-basics-3-ways-validate-data-infopath.htm
    http://henry-chong.com/2010/12/infopath-validation-gotcha/
    Thanks
    Daniel Yang
    TechNet Community Support

  • Migrating InfoPath 2010 Forms(Lists/Libraries) to InfoPath 2013

    Hi All,
     We have lots of InfoPath Forms in SP2010 and migrating to SP 2013. It would be helpful if anyone could suggest a suitable way to migrate the Forms. 
    Trying to avoid external tools just planning to inhouse.
    Thanks,

    Hi,
    According to your post, my understanding is that you wanted to migrate InfoPath 2010 Forms(Lists/Libraries) to SharePoint 2013.
    The issue is caused by the security and Claims-Based authentication.
    There is a new Secure Store Service ID that needs to be created to allow InfoPath to connect over Claims Based Authentication
    Here is a great blog for your reference:
    http://thatssharepoint.blogspot.com/2013/12/issues-with-infopath-forms-after.html
    More information:
    InfoPath and SharePoint 2013 – Upgrading your forms
    Migrating InfoPath Forms Services applications from 2010 to 2013
    Thanks,
    Linda Li
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Linda Li
    TechNet Community Support

  • Multiple file attachments in Forms ?

    I have a form based on a table which stores documents and then lets the user save and print these documents one at a time.
    I have a requirement to download multiple files and have them printed/ saved as a PDF file with different headers. Is there a way I can do this ?
    Thanks
    IQ

    Hi,
    I am using Forms 10G. Thanks for the message regardingb zipping the files using a javabean but is there a method where I can avoid using zip files as my client does not want to use Zip files for this purpose ?
    Thanks
    IQ

  • Hide/Show items in Multiple selection in InfoPath 2010 Form

    I have an I an InfoPath 2010 browser enabled form with four sections. Inside each section is  a checkbox and a textbox
    What I need to do is, have a user select a desired items by checking the checkBox and the items that are not Checked are hiden. They can select (Checked) all the four CheckBoxes. I am using rules but can't seems to get this working. Any help will be appreciated.
    Ebenezer

    Ok, here is how you have to do , use expression as I mentioned in my previous post, and then use a condition like this
    (../my:group1/my:field1 = string(true()) and ../my:group2/my:field4 = string(false()) and my:field6 = string(false())) or
    (../my:group1/my:field1 = string(false()) and ../my:group2/my:field4 = string(true()) and my:field6 = string(false())) or
    (../my:group1/my:field1 = string(false()) and ../my:group2/my:field4 = string(false()) and my:field6 = string(true()))
    here I am checking for all three fields, if either of these is true then it will hide other section
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • InfoPath 2010 form parsing error with 3600 execution timeout value in SharePoint 2010

    Hi,
    I have a list in SharePoint 2010 with 100 columns where 25 of them are calculated columns. This list is designed by InfoPath 2010 with two secondary data connections to pull a few data from another two lists. There are 25 set value rules with the submit
    button in InfoPath from. At present, the list is containing around 1000 items.
    The problem is, when I published the InfoPath form it throws an error:
    The SOAP message cannot be parsed.
    In fact, the execution timeout is set to 3600 in config file. When I delete items from the list and keep it around 700 the InfoPath form publish then.
    Could somebody tell me why this problem and what is the possible solution.
    Thanks in advance.

    Hi pointtoshare,
    According to your description, my understanding is that you got an error when you published InfoPath form.
    Please modify the web.config file like :
    <location path="_layouts/UploadEx.aspx">
         <system.web>
           <httpRuntime maxRequestLength="51200" executionTimeout="300" />
         </system.web>
       </location>
    And modify the <securityPolicy> section like :
    The web.config file is in C:\inetpub\wwwroot\wss\VirtualDirectories\spwebappname.
    There is another reason for this issue, please take a look at :
    http://www.heyweb.net/2011/07/infopath-the-soap-message-cannot-be-parsed/
    Here are some similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/ea8da113-fe9a-4878-9994-c1f24cc85c37/soap-error-when-publishing-infopath-form-to-sharepoint?forum=sharepointcustomizationprevious
    http://sharepointshah.blogspot.in/2012/11/soap-message-cannot-be-parsed-error.html
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Upload multiple files WITH correct pairs of form fields into Database

    In my form page, I would like to allow 3 files upload and 3 corresponding text fields, so that the filename and text description can be saved in database table in correct pair. Like this:
    INSERT INTO table1 (filename,desc) VALUES('photo1.jpg','happy day');
    INSERT INTO table1 (filename,desc) VALUES('photo2.jpg','fire camp');
    INSERT INTO table1 (filename,desc) VALUES('photo3.jpg','christmas night');
    However, using the commons fileupload, http://commons.apache.org/fileupload/, I don't know how to reconstruct my codes so that I can acheieve this result.
    if(item.isFormField()){
    }else{
    }I seems to be restricted from this structure.
    The jsp form page
    <input type="text" name="description1" value="" />
    <input type="file" name="sourcefile" value="" />
    <input type="text" name="description2" value="" />
    <input type="file" name="sourcefile" value="" />The Servlet file
    package Upload;
    import sql.*;
    import user.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.util.Map;
    import java.util.HashMap;
    import java.util.Date;
    import java.util.List;
    import java.util.Iterator;
    import java.io.File;
    import java.io.PrintWriter;
    import java.io.IOException;
    import java.text.SimpleDateFormat;
    import org.apache.commons.fileupload.servlet.ServletFileUpload;
    import org.apache.commons.fileupload.disk.DiskFileItemFactory;
    import org.apache.commons.fileupload.*;
    public class UploadFile extends HttpServlet {
    private String fs;
    private String category = null;
    private String realpath = null;
    public String imagepath = null;
    public PrintWriter out;
    private Map<String, String> formfield = new HashMap<String, String>();
      //Initialize global variables
      public void init(ServletConfig config, ServletContext context) throws ServletException {
        super.init(config);
      //Process the HTTP Post request
      public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException {
        request.setCharacterEncoding("utf-8");
        response.setCharacterEncoding("utf-8");
        response.setContentType("text/html");
        PrintWriter out = response.getWriter();
        Thumbnail thumb = new Thumbnail();
        fs = System.getProperty("file.separator");
        this.SetImagePath();
         boolean isMultipart = ServletFileUpload.isMultipartContent(request);
         if(!isMultipart){
          out.print("not multiple part.");
         }else{
             FileItemFactory factory = new DiskFileItemFactory();
             ServletFileUpload upload = new ServletFileUpload(factory);
             List items = null;
             try{
                items = upload.parseRequest(request);
             } catch (FileUploadException e) {
                e.printStackTrace();
             Iterator itr = items.iterator();
             while (itr.hasNext()) {
               FileItem item = (FileItem) itr.next();
               if(item.isFormField()){
                  String formvalue = new String(item.getString().getBytes("ISO-8859-1"), "utf-8");
                  formfield.put(item.getFieldName(),formvalue);
                  out.println("Normal Form Field, ParaName:" + item.getFieldName() + ", ParaValue: " + formvalue + "<br/>");
               }else{
                 String itemName = item.getName();
                 String filename = GetTodayDate() + "-" + itemName;
                 try{
                   new File(this.imagepath + formfield.get("category")).mkdirs();
                   new File(this.imagepath + formfield.get("category")+fs+"thumbnails").mkdirs();
                   //Save the file to the destination path
                   File savedFile = new File(this.imagepath + formfield.get("category") + fs + filename);
                   item.write(savedFile);
                   thumb.Process(this.imagepath + formfield.get("category") +fs+ filename,this.imagepath + formfield.get("category") +fs+ "thumbnails" +fs+ filename, 25, 100);
                   DBConnection db = new DBConnection();
                   String sql = "SELECT id from category where name = '"+formfield.get("category")+"'";
                   db.SelectQuery(sql);
                    while(db.rs.next()){
                      int cat_id = db.rs.getInt("id");
                      sql = "INSERT INTO file (cat_id,filename,description) VALUES ("+cat_id+",'"+filename+"','"+formfield.get("description")+"')";
                      out.println(sql);
                      db.RunQuery(sql);
                 } catch (Exception e){
                    e.printStackTrace();
            HttpSession session = request.getSession();
            UserData k = (UserData)session.getAttribute("userdata");
            k.setMessage("File Upload successfully");
            response.sendRedirect("./Upload.jsp");
      //Get today date, it is a test, actually the current date can be retrieved from SQL
      public String GetTodayDate(){
        SimpleDateFormat format = new SimpleDateFormat("yyyyMMdd");
        String today = format.format(new Date());
        return today;
      //Set the current RealPath which the file calls for this file
      public void SetRealPath(){
        this.realpath = getServletConfig().getServletContext().getRealPath("/");
      public void SetImagePath(){
        this.SetRealPath();
        this.imagepath = this.realpath + "images" +fs;
    }Can anyone give me some code suggestion? Thx.

    When one hits the submit button - I then get a 404 page error.What is the apaches(?) error log saying? Mostly you get very useful information when looking into the error log!
    In any case you may look at how you are Uploading Multiple Files with mod_plsql.

  • I purchased the Adobe PDF Pack but it won't allow me to convert any files to pdf or combine multiple files to into 1 pdf form. It keeps saying "Error occurred while trying to access the file". WHY

    I purchased the Adobe PDF Pack for $7.50/month (or $89.99/yr) but it won't allow me to convert any files to pdf or combine multiple files into 1 pdf form. It keeps saying "An error occurred while trying to access the service". WHY is this happening & How can I fix it?

    Hi hpmg,
    It seems you are trying to access the service via Adobe Reader. Make sure you are signed in with your Adobe ID. Is Reader updated to the latest patch v 11.0.09?
    It might be possible that a firewall or antivirus might be breaking the connectivity from Reader to the server.
    Try accessing the service from the browser: https://cloud.acrobat.com/exportpdf  and check if that works for you.
    Regards,
    Rave

  • How to send the mail with multiple file attachments ?

    Sending mails with multiple files as attachments.

    You need to start from the app, assuming that it has an email function, that contains the files that you want to send as attachments. The Photos app allows you to send up to 5 photos on the same email, but if you want to send multiple file types then you need an app that supports all those file types. I use the GoodReader app which supports quite a few document/file types (e.g. PDF, Excel, Word, pictures), and from that I can select multiple files (including different types) and attach them to the same email.

  • How to Prevent duplicates on Combination of Lookup columns in sharepoint 2010 using infopath 2010 form.

    Hi All,
    I have list with some Lookup columns like  City, Pin, and Text Column Name. All these are required columns.
    Now I want to prevent duplicates while submitting InfoPath form if a Combination of  City,Pin & Name. (like a Composite primary in Database is used.)
    Can some one help me on how to achieve this using InfoPath  2010 Rules, writing  rule in Xpath.
    Thanks in Advance.

    1. Add a secondary data connection to the list where the form will be submitted.
    2. Prior to submit via rules, set the query fields in the above connection: City, Pin & Name with values entered in the form. Query the data source and check if the result has values.
    3. Show error messages accordingly if exists else continue with Submit.
    This post is my own opinion and does not necessarily reflect the opinion or view of Slalom.

  • Cascading dropdowns in infopath 2010 form

    Hi,
        I want to create an infopath form with 2 drop downs in it such as one contains (Parent) all the states. Upon selecting one state the other dropdown should get populated by the corresponsing cities.
    I have created 2 lists already, states(Parent) and Cities(Child) with a lookup column in the Cities list fetching the statename from the State list.
    But not getting exactly how to connect the 2 dropdowns in Infopath 2010.
    Any one with any suggestion

    Hi spad, you should have both the state and city in the same list. Check out this link:
    http://blog.erikvl87.nl/2010/10/how-to-create-a-cascading-drop-down-list-in-sharepoint-2010/
    cameron rautmann

  • Getting Prompt for Credentials When Opening InfoPath 2010 Form in Sharepoint 2010

    I have a domain user who runs Office 2010 x32 and uses a Sharepoint 2010 site daily. Lately a specific page on that site has been randomly giving prompts for credentials when opening existing documents and creating new ones. The process can be most easily
    replicated by opening the new document template in Infopath by going to Documents -> New in the ribbon bar of the SP page. Most of the time the Windows credentials for the user are passed to Infopath/Sharepoint automatically (which is normal), but on the
    fourth or fifth attempt to create a new form, the prompt appears. The user can still enter the credentials and open the blank template form, but a prompt should not appear. The user is also the administrator for that page, so I'm thinking it's not a permissions
    issue.
    The user is running IE 9 on Windows 7 Pro x64. I have performed the following:
    Reset advanced IE settings and all user cache data
    Cleared cached Sharepoint credentials in Windows credential manager
    Re-applied group policy for the machine using gpupdate /force
    Logged in with a clean temporary profile
    Logged in to another domain account using the user's Sharepoint credentials
    Cleared Infopath cache
    Re-installed Office 2010 x32
    The problem only occurs only on this particular machine. There are no Sharepoint or authentication-related errors or warnings in the application and system event logs. There are also no error messages on-screen when the prompt appears. I also considered
    the possibility of this being a performance related issue in the case that maybe Infopath was taking too long to start, causing the credential pass-through process to time out and fall back to a prompt. I ran disk cleanup, deleted some temporary files, and
    checked for excessive CPU/memory load. I didn't find any issues and doing these things did not help.
    I'm convinced there is another setting somewhere in Windows that is causing this. Interestingly it always happens after four or five attempts, never the first time. Can someone point me in the right direction?

    Hi Titan, this sounds like an IE security setting issue. Things to do:
    1. In Internet options>Security>Local Intranet, make sure "Enable Protected Mode" is not selected.
    2. Under Sites>Advanced, add https://*.sharepoint.com (and make sure "Require server verification..." is not checked).
    3. Under Security>Custom Level, scroll all the way to the bottom and make sure "Automatic logon with current user..." is checked.
    cameron rautmann

  • Printing InfoPath 2010 Forms

    Hi all,
    This is probably really easy but I can't seem to get the "Print" option to appear in an InfoPath form under SharePoint 2010.
    This used to work out of the box in InfoPath 2007 but for some reason does not appear in 2010. Does anyone have any advice?
    Thanks

    I wouldn't say you're going about it in the wrong way - it's just that this is brand new functionality that can easily be confused with the full-blown use of InfoPath.  In 2007, we couldn't customize list forms with InfoPath - that is an awesome new feature of 2010.  What may be confusing is that you started in InfoPath.  Typically, you would create the list the way you want it in SharePoint, and you would add columns to it that were created at the site level or even site collection level.  That way, the columns are usable all over SharePoint and not just in your list.  Then, after you've gotten the list created and ready, you click on "Customize Forms" from the ribbon, which allows you to immediately convert all the built-in ASPX forms into InfoPath forms that you can then modify and spruce up to your heart's content.  There is a fundamental difference in these two approaches.
    If you built the list form template first, and create the list + columns from this direction, then you do not get the same administrative controls for determining the exact nature of your list nor the columns.  Columns should be carefully planned not just for the list but for your entire site and site collection.  If you create the same column over and over again, then you aren't utilizing the robust nature of SharePOint.  I know it seems cool that you are creating these lists by starting in InfoPath, but you aren't really creating Expense forms and Time Off forms.  You are creating lists that you simply get to modify the look and feel of with InfoPath.  The built-in forms of a list do this, too, except the built-in list forms are not nearly as capable.  You can't design the layout and graphics of a built-in list form, and you can't add in custom logic or other data connections with built-in list forms.  InfoPath forms can do this, and so can list forms customized with InfoPath, but it's not the same thing as if you built a regular InfoPath form and submitted to a form library.  When you do that, you actually have a full-fledged FORM with a document (XML) that stores your data.  The list version is just using InfoPath as a beefed-up front end, but in the end, it's just a list item in the content database, not an XML form.
    Typically, for expenses, time off, timesheets, etc., you would have a full-fledged form where someone goes to a form library, fills out the form, submits that physical XML form back to the library, and you have full functionality and capability of InfoPath (browser or rich client - either way).
    I think it's important to also point out that Beta will not have an upgrade path to RTM, so don't build more than you're willing to rebuild after RTM release.  Also, browser forms utilize Forms Services, which is only available in the Enterprise version.  Be sure you plan to purchase, license, and implement the full Enterprise level of 2010 when going this route with testing.  Just a heads-up on those things!  I will be doing Enterprise all day long, so I'm with ya!  =)SharePoint Architect || My Blog

Maybe you are looking for

  • Print the Report Name

    I need to print report's name as a part of header information. What I have to do?

  • I can't fix my insane object error!

    Hi all, I'm getting the following error messages when I try to save my VI after running it: Insane object at FPHP+208BC in "backup.vi":{sub}(0x10): Scale (DDO) " " FPHP+20634 " " Waveform Chart (DDO) " " FPHP+20E78 " " Scale (DDO) " " FPHP+20CB0 " "

  • What to be targetted by JPA query?

    In JPA the SELECT query is against entity objects, but the UPDATE against DB records, aren't they? i coded some basic JPA staff, then found that the getResultList() method to SELECT query always returned the latest states of entity objects but not of

  • How can I get Mac mail to open winmail.dat attachments on lion 10.7.3

    How can I get Mac mail to open letter attachments winmail.dat??   (Lion 10.7.3) Any help appreciated...

  • Acrobat 9 Page Size Stuck on Automatic

    We just got a new PC in the office and have Acrobat 9 installed.  When I go to change the scan defaults or start a custom scan, the Paper Size setting is locked to Automatic.  I can drop down the box, but the only options are "Select One" (which I ca