Hi,
I have created a web part to render a form. I use the same technique as described in the following link:
http://jopx.blogspot.com/2006/09/rendering-infopath-2007-form-in-web.html
The form template (XSN file) is uploaded to a Sharepoint document library with
XsnLocation
http://thehost/Form_Application/Forms/template.xsnWhen a user opens the form corresponding form data will be saved in
XmlLocation
http://thehost/Form_Application/username.xmlWhen a user opens the form the first time I would like a new form to be created from the form template based on the XsnLocation.
When a user opens the form the next time I would like the form to be opened based on the data stored in the XmlLocation.
It is not possible to specify both locations (XmlLocation and XsnLocation) in the XmlFormView control simultaneously since they are mutually exclusive.
How should I solve this problem?
Are there better ways to prepopulate forms?
Thanks!