Question

I'd like to write a SharePoint web part that would display InfoPath forms and have some additional functionallity. Does anyone know how to implement the "forms display" part of the web part???

Thanks.

Was it helpful?

Solution

You use the XmlFormView control in Microsoft.Office.InfoPath.Server.Controls. The control has all the properties you need to display the right form, such as:

XmlFormView.XsnLocation
XmlFormView.XmlLocation
XmlFormView.SaveLocation

This should help: Hosting the InfoPath 2007 Form Editing Environment in a Custom Web Form

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top