Reusing InfoPath forms as Content Types - Part 2

By:   |   Comments   |   Related: > SharePoint


Problem

In order to create different InfoPath forms, SharePoint generally needs different form libraries. This is true even if the form shares many common fields. The problem is that creating multiple libraries and developing multiple forms can be costly.

Solution

InfoPath 2007 allows you to publish forms as content types. Content types are a collection of different sets of data. The benefit of using content types is reusability. Rather than building everything from scratch, content types provide a generic set of data objects to start with.

This article is the second of a 2 part series. The first will discuss how to publish InfoPath forms as a content type. This article will show how to reuse content types in another library.

How to reuse content types in another library.

Open the form library settings on which the content type is to be implemented. Click on "Advanced Settings"

customize employee information

Select yes under "Allow management of content types?" and click OK.

employee information

Now you will be able to see a "Content Types" section which will list all the content types that are implemented in the library. For a Form Library, you will see the "Form" type listed by default. Click on "Add from existing site content types".

customize employee information

Add the custom type "EmpContentType" that we created previously from "Available Site Content Types" to "Content types to add." and click OK.

content types

Now you will be able to see the custom type in the custom types list. Click on "Change new button order and default content type".

customize employee information

Change the custom type order to 1, to make it the default content type of the form library. Click OK.

default content type

Go back to library and Click on "New". You'll be able to find that our new content type has been added to the library with all the metadata/fields.

another employee information
Next Steps
  • Read Part 1 on how to publish an InfoPath form as a content type.


sql server categories

sql server webinars

subscribe to mssqltips

sql server tutorials

sql server white papers

next tip



About the author
MSSQLTips author Rahul Mehta Rahul Mehta is a Project Architect/Lead working at Tata Consultancy Services focusing on ECM.

This author pledges the content of this article is based on professional experience and not AI generated.

View all my tips



Comments For This Article

















get free sql tips
agree to terms