How to submit InfoPath form data to multiple SharePoint lists at one time?

Hi,
I'm looking for a way to submit certain data in InfoPath form to separate SharePoint lists at the same time. I have a form that has two views with many data in them. I want to keep these data in separate SharePoint list besides keeping them in the XML. I know that you can submit to a form library using SharePoint document library data connection, but I'm not sure if you can use several data connections for submitting data to multiple SharePoint lists. Is it only possible to do using code? If yes, can anyone show a sample. I have never coded in InfoPath, though I used C# a lot in .Net.
Thank you!Regards,
R.D.M.

This is an old thread but I tripped over a codeless method to do this with OOB InfoPath 2010 and SP 2010. 
Assuming your main InfoPath form is published to a document library with the promoted fields that you want to see.
  Publish your form to a new document library to capture the secondary data fields that you want separated out.
Using the Publishing Wizard do the following:
Go to – File then Publish
Select SharePoint Server “ Publish form to a SharePoint Library”
Enter location of your SharePoint or InfoPath Forms Services Site: 
accept the default in this field from the first published event
Next screen, keep the default or change it, Form Library, Site Content Type or Admin Approved
Next screen, What do you want to do?
Create a new form library
Add new document library name and description
Next screen, Remove all promoted fields not applicable to the new library and add all of the ones you want to see data for.
Click Next and Publish
Come back into the form: If you don’t have buttons added directly to the form to submit or update, add them.
Create a new Action rule on the button
Label the rule to keep it straight
Condition, occurs when button clicked
Add action, Submit data
Use data connection to the second library created
Create a second new Action rule on the same button
Label the rule to keep it straight
Condition, occurs when button clicked
Add action, Submit data
Use original data connection to the library
Then you can add another action to close the form or do whatever you need.
Republish the form to both libraries to set the template for both.
File – Publish – SharePoint Server
Select Secondary library from drop down follow the rest of the prompts
Follow step 5a again, select Primary library from drop down, Add back in all of the promoted fields needed for the primary library and follow the prompts.
DOCUMENT YOUR FORM WELL FOR MAINTENANCE
Special considerations, your primary library needs a unique ID to reference in your secondary library.
Your secondary library will need a unique ID that is not related to the primary if you are going to store multiple records for a single primary library reference. 
Example: One form, multiple updates.

Similar Messages

  • Filtering InfoPath Form Data Based on Sharepoint Login

    We have a form designed in InfoPath that updates a SharePoint list.  We've added a data connection in InfoPath to an SQL database that holds information we'd like to have populated in the form.  One of the columns in the database is username which
    matches the username someone accesses SharePoint with.  
    Our question is this - how can we add a filter or rule to our form so that when user x logs into Sharepoint, the form populates with all the data  in the SQL database for user x   
    We've been able to pull all the data into the form for each user, but not a specific user like we're trying to. 
    Any suggestions or reference would be most appreciated.  
    Thanks in advance. 

    Hello,
    As i understand, you want to get filter data from SQL based on current user name. You need to use "where" operator in SQL query to get specific user data from SQL. First create a SQL connection and overwrite query in your code. Refer this link for code:
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/5aa4519c-b8e0-4a7c-85b4-09f7e1d0747a/dynamic-sql-data-connection-in-infopath?forum=sharepointcustomizationprevious
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • How to manage XFDF form data stored in sharepoint

    Hi All,
    I have developed a rating form tool in acrobat to get the readers feedback. I am saving the feedback data in a sharepoint when the user click the SUBMIT button. It is working very well and the feedback data is getting stored in the Sharepoint.
    Now, its time to generate a report based on the feedback I am receiving in the Sharepoint. I need to collect the data from the sharepoint and generate a report for the management.
    Is there anyway to pull the data from the Sharepoint directly from Acrobat? and when the pdf file is getting distributed there are lot of additional characters being added after the pdf file name (4AA0-1068EEW_7c9ab3f540b39941be0626d074eec68a.xfdf). It results, when I try to copy the .xfdf files from sharepoint to my local folder, Windows says "The file name is too long and cannot be copied" and hence I miss some of the data stored in the sharepoint.
    Someone, please help me to collect and manage the data and generate a report.
    Thanks in advance.
    Regards,
    Muthuraj. D

    Create a servlet which gets an InputStream of the file and writes it to the OutputStream of the response and call this servlet in `src` attribute. That's basically all.
    Here's an example which covers the most of the minimum needs: [http://balusc.blogspot.com/2007/04/imageservlet.html].

  • (infopath) Form to edit a Sharepoint List

    Hi all,
    Let me explain what I need to achieve here:
    I have an Excel spreadsheet with many project records. On each record, half of the columns are populated and the other is blank.
    I need to complete that information with the help of every project manager, but as there are so many records, I think giving them the chance to complete it by themselves in Sharepoint is a good idea (if it can be done, I know it can).
    So my idea is, every project manager enters the Sharepoint Site and clicks on the place where the list/form/I-don't-know is, he must only see the records that he manages, there is a Person column for that.
    He goes into the form and it shows the first record. He completes it and hits Next. The second records appears to be completed.
    Or she clicks on every record to complete it, but they must only see the records filtered by her user name.
    I know nothing of Infopath and Sharepoint, I was trying to make something but it's very difficult to me.
    Guys, if you can suggest other solution using Sharepoint and/or Infopath, please let me know.
    Regards,
    Stuart

    Hi Stuart,
    Based on your description, my understanding is that you want to let the users to edit their own records in SharePoint.
    If I misunderstood, please feel free to correct me.
    I recommend to export the Excel spreadsheet to SharePoint list and then modify the view by the Person column.
    After that the user will see their own records when they access the list in SharePoint, and they need to open each record and edit it.
    Here are the detailed steps:
    Open SharePoint site in the browser, click Site Actions menu and select More Options under New Site.
    In the pop out dialog, select List under All Types. Then select Import Spreadsheet and click Create.
    Type the Name and Description, select the Excel spreadsheet in your computer and click Import.
    Click Modify View button in List tab and set the filter to be like the image below:
    You can also refer the links below for more details:
    How to Import an Excel Spreadsheet into a SharePoint 2010 List:
    http://www.dynamics101.com/2013/07/import-excel-spreadsheet-into-sharepoint-2010-list/
    Custom List View Based on Current User Using SharePoint Designer:
    http://go.limeleap.com/community/bid/297846/Custom-List-View-Based-on-Current-User-Using-SharePoint-Designer
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • How to create Reports for the infopath form data

    Hi All,
    I have a requirement to generate reports in SharePoint based on InfoPath form data which is submitted into form library. Do I need to store each InfoPath form data into SQL Database/MS Access Database. if yes, can any one  help me on this how
    to save InfoPath form data into DB while submitting into "Form Library". based on the data stored in DB how to create  and view the report in SharePoint?.
    Thanks in Advance,
    Satish
    Thanks & Regards Satish Dugasani

    Thank you for asking the questions for clarification, my requirement is like below
    1. Need to insert all infopath form fields data into Access Database when i am submitting to the Form library
    2. Create Access Reports like based on time period, based on submitter name, based on state, city, and combination of these etc.
    3. Sync Access Database every time i am updating the form
    4. View Access Reports in share point site
    PS: I worked on this like below approch
    1. Written Web Service to Sync Access Database for the Infopath form
    2. Create Access Reports
    3. Publish using "Publish to Access Services" by providing site URL it will create a subsite there i can able to see reports, tables, macros etc. but that is not an user friendly like i am not able to apply my branding because it is pointing to /_Layouts/accsrv/Modifyapplication.aspx.
    could any one suggest me on this.
    Thanks & Regards Satish Dugasani

  • Submit pdf form data to sql database

    Where I can find detailed information on the process of sending data from pdf form stored on the website to the sql database stored on web server ?? Where I can find some samples I could use to build my form and related script(s).
    Thanks for advice.
    Tony

    Hi Paul,
    Thank you very much for your quick response. I can not retrieve your
    attachments, so please send them by email. Thank you.
    What does it mean that DSN has to be set up on each machine which will run
    the form ??? Does it mean for each person who will use the form ?? or
    rather once on the server where the form is hosted ??? It will be a bit
    difficult to use if it will have to be installed on each user computers as
    some users may not be happy to do it. If this is the case do you have any
    solution you would recommend which will collect the data from the form
    without asking users to do anything special on their computers ????
    Regards,
    Tony Pluta
    Graphics Designer
    Broadmeadow Road
    Broadmeadow NSW 2292
    Australia
    Direct: +61 2 9492 1277
    Facsimile: +61 2 9462 1383
    Mobile: +61 403 399 167
    [email protected]
    www.unitedgroupltd.com
    pguerett <[email protected]>
    22/04/2009 10:31 PM
    Please respond to
    [email protected]
    To
    Tony Pluta <[email protected]>
    cc
    Subject
    submit pdf form data to sql database
    If you want the form to contact the DB directly you will have to set up a
    DSN on each of the machines that will run the form. Note that this wil
    only work on Windows machines. Also the form must be launched for the
    script to run (you mentioned the PDF was stored on the web server). I have
    some samples that show how to deal with a DB but the attachments do not
    seem to be working correctly on the forum yet. If you cannot retrieve them
    post your email and I will email them to you directly.
    Paul

  • How to close infopath form through code?

    Hi All,
    How to close infopath form through code, thanks in advance!

    Hi Sam,
    Please check if the articles below can be help:
    http://www.bizsupportonline.net/browserforms/programmatically-submit-infopath-form-sharepoint-send-email-close-form.htm
    http://www.bizsupportonline.net/blog/2009/01/how-to-programmatically-run-code-close-infopath-web-form/
    Regards,
    Rebecca Tu
    TechNet Community Support

  • How to submit a form with checkboxes in a page flow?

    I'm having some trouble with a form that contains several checkboxes, and
    how to submit this form within a page flow...
    I have a JSP page containing a form with N checkboxes. The value and
    checked/unchecked status of each checkbox is generated from parsing an XML
    document. Here is the (simplified) code:
    <%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>
    <netui:form action="doUpdate">
    <x:forEach select="...">
    <input type="checkbox" name="id"
    <x:if ...>checked</x:if> value="<x:out ... />">
    </x:forEach>
    <netui:anchor formSubmit="true" action="doUpdate">Submit</netui:anchor>
    <netui:anchor action="doCancel">Cancel</netui:anchor>
    </netui:form>
    When this form is submitted, the checkbox values are lost -- the following
    code (in the action) produces an empty array:
    String[] prefs = this.getRequest().getParameterValues("id");
    I looked at the <netui:checkbox> tag, but it does not appear to give me a
    way to set the state and value (unless I've missed something).
    Can I submit a form without using a form bean? If I do use a form bean, can
    I set the state and value from my JSP?
    Any suggestions on how to do this (or insights into what I'm doing wrong)
    are welcome...
    -- Craig

    I am new to this, but I think this may solve your problem:
    I am not sure if this is what you are looking for, but you can create a LinkedHashMap
    with the req key/value pairs in the page-calling action in the pageflow and then
    pass that via a getRequest().setAttribute("myCheckboxes",myCheckboxHashMap);
    You can then access it in code using the optionsDataSource portion of the netui:checkBoxGroup
    - ie
    <netui:checkBoxGroup dataSource="{actionForm.thisCheckbox}" optionsDataSource="{request.myCheckboxes}">
    Hope this helps!
    m
    "Craig Coffin" <craig+1268fbec@nfld-dot-com> wrote:
    I'm having some trouble with a form that contains several checkboxes,
    and
    how to submit this form within a page flow...
    I have a JSP page containing a form with N checkboxes. The value and
    checked/unchecked status of each checkbox is generated from parsing an
    XML
    document. Here is the (simplified) code:
    <%@ taglib uri="http://java.sun.com/jstl/xml" prefix="x" %>
    <netui:form action="doUpdate">
    <x:forEach select="...">
    <input type="checkbox" name="id"
    <x:if ...>checked</x:if> value="<x:out ... />">
    </x:forEach>
    <netui:anchor formSubmit="true" action="doUpdate">Submit</netui:anchor>
    <netui:anchor action="doCancel">Cancel</netui:anchor>
    </netui:form>
    When this form is submitted, the checkbox values are lost -- the following
    code (in the action) produces an empty array:
    String[] prefs = this.getRequest().getParameterValues("id");
    I looked at the <netui:checkbox> tag, but it does not appear to give
    me a
    way to set the state and value (unless I've missed something).
    Can I submit a form without using a form bean? If I do use a form bean,
    can
    I set the state and value from my JSP?
    Any suggestions on how to do this (or insights into what I'm doing wrong)
    are welcome...
    -- Craig

  • How to print hard-coded data in multiple language in sapscript.

    Hi All,
    How to print hard-coded data in multiple language in sap-script, here the requirement is when printing the output
    we can see the window heading, description which are mostly hard-coded here I want to print these in both language as fallows,
    Goods to be delivered: = Morada de Entrega:
    Total net value excl. tax = Valor Total (IVA não Incluído)
    Description = Descrição
    Item = linha
    here I want to print in both languages like----       Goods to be delivered:/ Morada de Entrega:
    and the above headings in English are hard-coded.
    Kindly suggest me on this.
    Thanks in advance.
    Arun.

    Hi Arun,
    Use Standard text ade those text elements. Then use those in SAP script using different languages.
    Regards,
    Amitava

  • How to save the form data into adobe db?

    Hi All,
    How to save the form data into adobe db?
    I have designed one xdp file.
    Through processFormSubmission(), I got the submitted form data as Document obj.
    Then I have called the workflow kickoff program.
    code:
    InvocationRequest request = myFactory.createInvocationRequest ("myprocessname", //Specify the long-lived process name
    "invoke", //Specify the operation name
    params, //Specify input values (HashMap obj)
    false); //Create an asynchronous request
    It successfulyy started the workflow, but the submitted form data is not saved anywhere.
    And also, How get the form data from tables?
    Please provide the solution for the above.
    Thanks in advance.
    Regards,
    Saravanan G

    You need to create a process variable of type IN if you want to be able to pass data to your process. Then the params parameter (HashMap) contains a list of all the IN variables with their content that you want to pass to your process. They key is the name of the variable and the value the content. That way you should get it in your process.
    Now LiveCycle will create a column in the database for every process variable, so the content will be saved in the database just by creating that process variable.
    Jasmin

  • How to display the Form output in multiple languages ? ------ Urgent

    How to display the Form output in multiple languages ? -
    Urgent

    Hi,
    Do u mean the Form output in 2-3 languages ...like form output will be having english russian etc...
    for the above case , what u have to do ...
    first have to get the transalations for all the fields
    say for example : if the english word is PO Number , then u have to get the transalation text for PO Number :
    after this , what u have to is ,,, Log on to SAP with russian language ,  then in the form o/p u have to paste that russian test ( translation text ) ...
    do like this for all the components in the form .
    Reward Points if it is Useful.
    Thanks,
    Manjunath MS

  • How to save infopath form in XML file

    How to save InfoPath form in XML file.
    I want every new record in InfoPath form save in XML file and also retrieve these records from XML like databases

    Hi,
    Based on your description, my understanding is that you want to save InfoPath form in XML file.
    I have done a test in my SharePoint, Do the following steps:
    Create an form library and publish an InfoPath form into it, Then when we create new document into the form library, it is by default that InfoPath form is saved in XML file.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • How can i import the data from multiple sources into single rpd in obiee11g

    how can i import the data from multiple sources into single rpd in obiee11g

    Hi,
    to import from multiple data sources, first configure ODBC connections for respective data sources. then you can import data from multiple data sources. When you import the data, a connection pool will create automatically.
    tnx

  • How do you remove multiple email messages at one time

    I have a iphone 4 and today it started piling up over 4000 undeliverable messages for no apparent reason. I somehow managed to stop the process but I am left with over 4000 messages that I need to delete. How do you remove multiple email messages at one time. I can "mark" all the messages at once but I cannot find the move or delete button to trash the messages. Can some one help me out.
    Thanking you in advance.
    PL

    Just figured it out - I can select multiple messages as you suggested when I am not in full screen mode.
    So once I come out of full screen mode - then the multiple windows open.
    QED

  • How do I apply same adjustments to multiple photos at the same time?

    How do I apply same adjustments to multiple photos at the same time?

    You can't but you can copy the adjustments made on one photo and apply/paste it onto another by:
    1 - Control (right)-clicking one the edited photo in the Edit mode and selecting Copy Adjustsments
    2 - Control-clicking on the next photo and selecting Paste Adjustments.
    OT

Maybe you are looking for

  • Infosource -adding new objects

    I enhanced the datasource 2lis_02_itm with some objects using abap code. I created the objects in BW and replicated the datasource. I added those objects to the info source. Now , I am not able to assign these objects in the info source, I do not see

  • Value set not working in responsibility

    Hello everyone, I created a custom responsibility and added a custom concurrent program to it (specifically the payroll run concurrent program). Now this concurrent program has a value set attached to it (PY_SRS_PAYROLL_GB) to select the payroll name

  • How can i buy a second copy of Lion from the App store?

    I have a number of Macs at home. one is a 8 core Nehalem  running 10.6.8 I tried a number of time to buy a copy of Lion to install and it will not let me, it says I have already installed it (i have but on another computer) I talked to the Genius' at

  • Can I make it shuffle playlists but not shuffle albums?

    Whenever I select an artist or playlist, I want the music to be shuffled; but when I select an album, I want it to play the album in order. Right now I go into settings and toggle the shuffle off or on. Is there any way to make the albums play in ord

  • Problem when trying to start Weblogic server

    Hi, I have a problem when in was trying to start the weblogic server from the Weblogic Console.It Loads all the necessary files and finally it comes out giving an error "Server start message not received in allotted time, server process killed.". But