none
Creating SharePoint 2010 list from an Existing InfoPath form

    Question

  • Is there a way to create a new SharePoint list (a list, not a document library) from an existing InfoPath form that was created entirely in InfoPath?

    I see you can publish a IP form to a document library, however, I want to sync this with a SharePoint Workspace which does not support that type of content.  

    I have played around with editing the component files from the .XSN file, but that really got messy and I did not seem to be making any progress there.

    I'm very new to SP and IP, so I'm not entirely sure what is possible.    After many searches on the topic, I have not seen any solutions.

    Thanks for any info you can provide.

    Thursday, September 20, 2012 3:11 PM

Answers

  • My understanding is that you want to create a list based on the structure of an infopath form and then want to copy its contents to that list (to be able to sync it later with WorkSpace). In itself not easy, but doable.

    - You have the XML of the InfoPath form

    - Read all values

    - Programmatically extract the XSN file

    - Every view has its own XSL file

    - Look up all ids of the values in the XSL file to find out what data type they are

    - Then, create a custom list according to this data types and fill it with the values you've found

    Not easy, but doable. I did something similar myself, only I didn't create a custom list, I extracted the info for a BI solution.


    Kind regards,
    Margriet Bruggeman

    Lois & Clark IT Services
    web site: http://www.loisandclark.eu
    blog: http://www.sharepointdragons.com

    Thursday, September 20, 2012 4:32 PM