This documentation is archived and is not being maintained.

About Form Template Components

Office 2007

Microsoft Office InfoPath 2007 forms are composed of several files and components that are combined to provide specific functionality for a particular end user scenario or business need. InfoPath forms can vary in complexity depending on the type of need that they address.

An InfoPath form is essentially a type of application that creates a specified class of XML documents, defines their layout and editing behavior, enforces their data consistency, and provides the routing information that indicates where they should be stored.

It is important to understand that InfoPath forms are composed of several different files of many different types; these files are collectively known as the form files. Usually, an InfoPath form is composed of the following types of files.

Form definition.xsfAn InfoPath-generated file that contains information about all of the other files and components used in a form. This file serves as the manifest for the form.
XML Schema.xsdThe XML Schema files that are used to constrain and validate a form's underlying XML document files.
View.xslThe presentation logic files that are used to present, view, and transform the data contained in a form's underlying XML document files.
XML template .xmlThe .xml file that contains the default data that is displayed in a view when a new form is created.
XML component template.xctThe .xml file representations of the editing controls that are used when creating and filling out a form.
Presentation.htm, .gif, .bmp, and othersThe files used in conjunction with the view files to create a custom user interface.
Business logic.js, .vbsThe script files (Microsoft JScript and Microsoft VBScript) that contain programming code used to implement specific editing behavior, data validation, event handlers, control of data flow, and other custom business logic. Business logic can also be written in the .NET programming languages of Visual Basic and C#, which are compiled and included as binary files.
Binary.dll, .exe The custom Component Object Model (COM) components that provide additional business logic.
Form template.xsnThe compressed file format (.cab) that packages all the form files into one file.