via a script,create an xml document that is saved in a sharepoint document list, which in turn the saved xml document can be opened by an existing infopath form (a content type) - InfoPath Dev
in

InfoPath Dev

via a script,create an xml document that is saved in a sharepoint document list, which in turn the saved xml document can be opened by an existing infopath form (a content type)

Last post 06-04-2008 11:00 AM by Greg Collins. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 05-06-2008 06:20 AM

    • Cutejon
    • Not Ranked
      Male
    • Joined on 03-26-2008
    • Philippines
    • Posts 20

    via a script,create an xml document that is saved in a sharepoint document list, which in turn the saved xml document can be opened by an existing infopath form (a content type)

    Hi guys,

     I have been looking into the forum, unfortunately I havent found any entries pertaining to the subject above.

    Background : using MOSS ver. 3, infopath 2007

    What I am doing is this, I have an infopath form which is used to track Tape movement (FORM 1). Contained in this form is a repeating table which displays data (entered by the user) regarding the tapes to be moved (tape information).

     In the sharepoint, I have a document library, which contains the tape information(FORM 2). Tape information data can be filled up by either creating/composing it on an infopath form(which is working), and from FORM 1.

     My problem now is, given the first form (FORM 1), Tape movement form, I would like to give the ability to users that they can create tape information on the fly by using the information found on the repeating table. I know the schema of FORM 2 and can be filled in via script. But how do you save this information on that document library given that when you click on that saved data, which was generated via script, can be opened in its designated form (FORM 2).

  • 05-07-2008 04:48 PM In reply to

    Re: via a script,create an xml document that is saved in a sharepoint document list, which in turn the saved xml document can be opened by an existing infopath form (a content type)

    You need to use a DAVAdapter to save your created file to SharePoint. So long as you create a full InfoPath formatted XML file (get a sample XML from FORM 2), then it will open just fine in XML if it was saved out to SharePoint correctly via the DAVAdapter.

    You'll likely have to do a little research in how to use the DAVAdapter to accomplish the actual save.

  • 06-01-2008 11:21 PM In reply to

    • Cutejon
    • Not Ranked
      Male
    • Joined on 03-26-2008
    • Philippines
    • Posts 20

    Re: via a script,create an xml document that is saved in a sharepoint document list, which in turn the saved xml document can be opened by an existing infopath form (a content type)

    Thanks Greg,

     btw, my solution is found here: http://www.infopathdev.com/forums/p/7994/29080.aspx#29080

  • 06-04-2008 11:00 AM In reply to

    Re: via a script,create an xml document that is saved in a sharepoint document list, which in turn the saved xml document can be opened by an existing infopath form (a content type)

    Great! Glad to hear you got it working. Thanks for sharing your solution with the rest of us!

Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.