InfoPath Forms Services

借助 Microsoft Office SharePoint Server 2007 中的 InfoPath Forms Services,可基于 Microsoft Office InfoPath 2007 中设计的模板填写 Web 浏览器表单。当部署到运行 InfoPath Forms Services 的服务器时,基于浏览器兼容表单模板 (.xsn) 的表单可通过 Web 浏览器在未安装 Office InfoPath 2007 的计算机上打开;但是如果安装了 Office InfoPath 2007,将在 Office InfoPath 2007 中打开。InfoPath Forms Services 所提供的功能将内建于 Windows SharePoint Services 3.0 平台的顶部。

在 Office InfoPath 2007 设计模式用户界面中创建的浏览器兼容表单模板 (.xsn) 将通过 XmlFormView 控件,以 Office SharePoint Server 2007 上运行的可通过浏览器编辑的表单呈现。具有以 Microsoft.Office.InfoPath 程序集的托管代码编写的自定义业务逻辑的浏览器兼容表单模板必须由管理员进行部署,并通过从 Office SharePoint Server 2007“管理中心”网站访问的表单模板的全局列表来管理。若要显示并处理该列表,请打开“管理中心”网站,单击“应用程序”选项卡,然后单击“管理表单模板”。

InfoPath Forms Services 提供了包含 Microsoft.Office.InfoPath.Server.AdministrationMicrosoft.Office.InfoPath.Server.Controls 这两个命名空间的对象模型。开发人员可使用 Microsoft.Office.InfoPath.Server.Administration 命名空间的类和成员,通过服务器上运行的代码自动化表单模板的管理。Microsoft.Office.InfoPath.Server.Controls 命名空间的许多类和成员都具有 InfoPath Forms Services 内部使用的实现功能。但是,Microsoft.Office.InfoPath.Server.Controls 中的 XmlFormView 类具有一个 ASP.NET 控件,可用于在服务器上在自定义网页中呈现浏览器兼容表单模板。

See Also

参考

Microsoft Office Forms Server 2007 Software Development Kit (SDK)

InfoPath Developer Reference for Managed Code

Introduction to InfoPath Forms Services

Introduction to browser-compatible form templates

Hosting the InfoPath 2007 Form Editing Environment in a Custom Web Form