Getting Data In/Out of XmlFormView - InfoPath Dev
in

InfoPath Dev

Getting Data In/Out of XmlFormView

Last post 07-05-2007 07:50 PM by gislcp. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 04-25-2007 08:33 AM

    Getting Data In/Out of XmlFormView

    I am using an XmlFormView to host an InfoPath form.  My problem is that I can't figure out how hydrate the form with an XML document in memory and then extract that information from the form after the user has made their changes.  The objects' interfaces seem designed to load and save from/to URIs. 

     I don't think I should have to create a document on the file system only to load it, and then save the document to the file system only to retrive it and then delete it. 

    The XmlFormView.XmlForm.MainDataSource.CreateNavigator() method gets very close to what I need, it returns a document containing the form fields and their values, but the document it returns conforms to a different schema than was specified when the form was built, so that XML document is not useful to me. 

     Is there a way to push an XML document into the form and later extract the modified document without loading/saving to/from the file system?  How? 

    Thanks,

    Jon

  • 07-05-2007 07:50 PM In reply to

    • gislcp
    • Not Ranked
    • Joined on 07-05-2007
    • Posts 2

    Re: Getting Data In/Out of XmlFormView

    Yes,I Use XmlFormView Control in Custom aspx.I want to put data in XmlFormView when page_load ,but XmlFormView1.XmlForm Property=Null,Data can't Put.
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.