To publish an InfoPath form template as a new SharePoint site content type, you must:
- Create a document library in SharePoint to store the InfoPath form template or store it in an existing document library.
- Publish the form template as a new content type.
- Create a SharePoint form library and add the content type to it.
I. Create a document library in SharePoint
In SharePoint, create a Document Library to store InfoPath form templates that will be used as content types. Create this document library on the same site on which you want to create the content type.
Note: While you could create this document library on any site within the SharePoint site collection, it makes sense to keep it on the same site as the content type for ease of maintenance.
II. Publish the form template as a new content type
- In InfoPath, from the File menu, choose Publish.
- On the Publishing Wizard, select To a SharePoint server with or without InfoPath Forms Services, and click Next.
- On the Publishing Wizard, enter the URL to the site or subsite on which you want to create the content type, and click Next.
On the Publishing Wizard, select Site Content Type (advanced), and click Next.
- On the Publishing Wizard, select Create a new content type, and click Next.
- On the Publishing Wizard, type in a Name for the content type, and click Next.
- On the Publishing Wizard, click Browse, browse to and select the document library you created in Create a document library in SharePoint, type in a name for the form template, and click Save. When you get back on the Publishing Wizard, click Next.
- On the Publishing Wizard, click Next.
- On the Publishing Wizard, click Publish.
- On the Publishing Wizard, click Close.
III. Create a SharePoint form library and add the content type to it
- In SharePoint, create a new Form Library.
- On the Settings menu of the form library, click Form Library Settings.
- On the Form Library Settings page, under General Settings, click Advanced settings.
- On the Form Library Advanced Settings page, select Yes for Allow management of content types, and click OK.
- On the Form Library Settings page, under Content Types, click Add from existing site content types.
- On the Add Content Types page, select the content type for the InfoPath form template you published earlier, click Add, and then click OK.
The InfoPath form template should now be available as a menu item under the New button of the SharePoint form library you created.