Saving a xml file XmlFormView

B

Brad Covell

I'm using an XmlFormView control to host an InfoPath form on a SharePoint
site. When the user submits the form the form gets saved into a document
library, pretty simple. To do this I set the XsnLocation of the control to
the location of the InfoPath template.xsn file.

Now what I'd like to do is create another page that hosts the XmlFormView
control but this time loads a form based on an XmlLocation. I've been
successful in doing this if the XmlFormView.XmlLocation points to an xml
form that is hosted on the SharePoint site. However, my question is how (is
it possible) to have the XmlLocation point to an xml file that is located on
user's desktop. My idea is to allow users the ability to save form data
locally, then upload their form to the page hosting the XmlFormView control
which would then display the form on the web. Currently when I point it to a
local copy the Form just closes and I get a message that says the Form has
been closed.

So can XmlFormView.XmlLocation point to a local xml file or does it only
work when the xml file is located on the web.

Thanks
Brad
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top