views:

399

answers:

1

Hi.

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.

+2  A: 

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

Tom