14.7. Summary

InfoPath form templates are packaged in ZIP files with an .XSN extension. They contain a manifest that describes all aspects of the form and a schema that describes the data that the form recognizes. When building SharePoint solutions that rely on form data, this is the most important part of the form template. The data source is the heart of any InfoPath form, and is probably the best starting point when designing a form from scratch. A form can have one primary data source, also called a data connection, and many secondary data sources that link to external data.

SharePoint 2003 offered form libraries that could surface selected form data fields as columns, allowing end users to filter and view form data without having to resort to the original form. These columns were unidirectional, meaning that once they were edited in the form library, they could not be written back to the underlying form. Windows SharePoint Services 3.0 form data fields are now bidirectional, allowing for greater consistency in the gathering of form data.

InfoPath form security involves three basic scenarios, which map to the three underlying security models, namely restricted, domain, and full trust modes. Restricted mode forms are used for simple data gathering. Domain forms are limited to data sources within the same domain. Fully trusted forms can run managed code but must first be installed by an administrator.

Form publishing is like compiling source code. InfoPath validates the form ...

Get Professional SharePoint® 2007 Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.