Home > Articles > Web Services > XML

This chapter is from the book

InfoPath 2007

The next version of InfoPath was InfoPath 2007, released on November 30th, 2006. As with previous versions, all feature additions in InfoPath 2007 were based on customer feedback. InfoPath 2007 not only included improvements in the core client application but also finally satisfied the number one customer request—the ability to fill out forms without having to install the InfoPath client application on every user's computer. To satisfy this request, InfoPath 2007 introduced a sister product called InfoPath Forms Services, included as a feature of Microsoft Office SharePoint Server 2007 Enterprise.

InfoPath Forms Services brought reality to the ultimate deployment story: publishing your InfoPath form template to the Web. Anyone anywhere, on any device, could now fill out your form. Feedback dictated that the InfoPath Forms Services would need to reach UNIX users running Mozilla, Mac OS folks with Safari, and even always-on-the-go businesspeople with their HTML-enabled PDAs and smartphones. Forms were filled out in full fidelity with data validation, conditional formatting, and even custom form code, to name a few features. (Figure 1.6 shows an InfoPath form being filled out in a browser.)

Figure 1.6

Figure 1.6 Filling out a browser-enabled form template in Internet Explorer

The key to making InfoPath Forms Services successful was to maintain as much compatibility as possible with the InfoPath client application. As a result, most form templates created with the InfoPath client can simply be reused "as is" in Forms Services. The InfoPath 2007 client application supports the few limitations of InfoPath Forms Services by offering two modes: InfoPath-only or browser-enabled form templates. In the browser-enabled mode, some features that are not supported (either in full or in part) are disabled or removed from the InfoPath design mode UI. When designing a new form template, you choose whether to design a client or browser-enabled form template, with the ability to change it at any time. To support switching from an InfoPath-only to a browser-enabled form template, the design mode offers the Design Checker, which reports form features added during InfoPath-only mode that are incompatible with InfoPath Forms Services. The Design Checker also helps maintain compatibility with previous versions of InfoPath.

You can expect your browser-enabled forms to behave similarly in InfoPath Forms Services as you would with the InfoPath client application. All conditional formatting, data validation, rules, multiple views, digital signatures, security settings, and most controls are respected. There are so many similarities between the InfoPath Forms Services and the InfoPath client application that it's a more interesting conversation to discuss what the InfoPath Forms Services in the 2007 version does not support.

Due to the InfoPath form architecture and the tremendous flexibility in form configuration, some of the more advanced features of the InfoPath client are not supported. For example, forms with script are not supported. Managed form code works as expected, but showing UI, such as a message box, by calling methods in the InfoPath or Windows Forms object models, is not. Another major difference between InfoPath and Forms Services is the behavior of data connections. The security model of data connections is more restrictive with browser forms. Many of the differences between the two types of forms have been addressed in the 2010 release, but the later chapters will cover in more detail which features are still unavailable in the browser.

InfoPath Forms Services is built on top of the rich capabilities of the SharePoint Server 2007 platform, which includes Windows SharePoint Services. You can harness the full power of SharePoint sites, document libraries, lists, and other SharePoint-specific features. The SharePoint Server package adds portal features such as Workflow Services and Enterprise Search. Partially filled forms in the browser can be saved to a form library and ultimately submitted to a SharePoint document library, for example. Administrators can configure InfoPath Forms Services settings from the command line, but the SharePoint Central Administration site offers a more user-friendly option for doing so.

A favorite feature for Web designers is the ability to host a browser-enabled form as a control in a Web page. Since Forms Services is implemented as an ASP.NET control, Web design gurus familiar with ASP.NET will have no problem incorporating forms into their existing Web infrastructure. Various events exposed from the form control serve as liaisons between the control and the hosting page. This helps tie your form intimately into the overall design and experience of your Web page.

The InfoPath Forms Services package is meant not as a replacement but rather as a complement to filling out forms with the InfoPath client. The relationship between Forms Services and the InfoPath client application can be compared to the relationship between Outlook Web Access (OWA) and the Outlook client application. OWA tries to do the job of the Outlook client on the Web but offers fewer features than the Outlook client application; for example, OWA lacks offline and client-only mail rules. As with OWA and Outlook, when the InfoPath client is available, you would prefer to use it over the server due to the fact that the InfoPath client provides a richer set of features. Even with the advancements in browser and Web technology, it is nearly impossible to do the same things in a Web browser as you would in the InfoPath client. However, most people don't really notice what is missing when they use a browser-enabled form. Limitations aside, InfoPath Forms Services is a truly remarkable advancement for creating ubiquitous InfoPath forms.

In addition to meeting the number one customer request with Microsoft InfoPath Forms Services, the InfoPath team also responded to feedback about the InfoPath client application by adding many new features.

A Getting Started dialog was introduced to give easy access to recently used and created forms. The Design a Form Template dialog gives a choice of form types and data sources to simplify the design process. You can customize existing templates or templates downloaded from Office Online. There is an option to import forms from Word or Excel to make use of any existing company forms.

InfoPath 2007 added new controls—the Combo Box, the Horizontal Repeating Table, the Multiple-Selection List Box, and the Horizontal Region. However, the most exciting addition in terms of controls is the ability to create custom controls with no code. InfoPath template parts allow you to create custom controls that are aggregates of existing controls already built into the InfoPath design mode. In addition, you can add rules, calculations, data validation, and even secondary data sources to template parts you design, thus creating reusable components with no code required. Another appealing addition to InfoPath 2007 is integration with Outlook. InfoPath e-mail forms, as the feature is called, enables users to fill out forms in the body of an e-mail instead of having to open the InfoPath client application.

Some of the other additions to the InfoPath client application are not as obvious. Many performance improvements enhance the usability of InfoPath. Several long operations now offer progress dialogs that can be canceled. Also, cases where multiple dialogs used to be displayed now show only one.

A few more of the many feature additions include Information Rights Management (IRM), date calculations, support for read-only views, bound fields in headers and footers, and better support for offline forms.

Features were also added specifically for developers including integration of the InfoPath design mode into Visual Studio Tools for Office (VSTO). But what if you just want to enhance your forms a bit without installing Visual Studio or resorting to script? You can do that with Visual Studio Tools for Applications (VSTA). With VSTA, you can use managed code anywhere you would have used script in InfoPath 2003 and SP1.

Another cool feature addition geared toward developers in InfoPath 2007 is support for add-ins. Developers can write their own add-in components using the Component Object Model (COM) or managed code. These add-ins enable you to control or modify InfoPath's behavior and add functionality that does not exist in the core InfoPath client application. Since add-ins are supported by other Microsoft Office applications, developers can write code once that will work across applications. Many developers have asked for the ability to host InfoPath since InfoPath 2003 was released. With InfoPath 2007, it became possible to add rich form editing to your own applications by reusing InfoPath. This is such a popular scenario that other Microsoft Office applications have taken advantage of this feature. Word, Excel, and PowerPoint now show their document properties in a Document Information Panel that is actually an InfoPath form. The Document Information Panel includes all the features you have come to expect from an InfoPath form. In the advanced section of the book, we will show you how you can add these features to your own application.

InformIT Promotional Mailings & Special Offers

I would like to receive exclusive offers and hear about products from InformIT and its family of brands. I can unsubscribe at any time.


Pearson Education, Inc., 221 River Street, Hoboken, New Jersey 07030, (Pearson) presents this site to provide information about products and services that can be purchased through this site.

This privacy notice provides an overview of our commitment to privacy and describes how we collect, protect, use and share personal information collected through this site. Please note that other Pearson websites and online products and services have their own separate privacy policies.

Collection and Use of Information

To conduct business and deliver products and services, Pearson collects and uses personal information in several ways in connection with this site, including:

Questions and Inquiries

For inquiries and questions, we collect the inquiry or question, together with name, contact details (email address, phone number and mailing address) and any other additional information voluntarily submitted to us through a Contact Us form or an email. We use this information to address the inquiry and respond to the question.

Online Store

For orders and purchases placed through our online store on this site, we collect order details, name, institution name and address (if applicable), email address, phone number, shipping and billing addresses, credit/debit card information, shipping options and any instructions. We use this information to complete transactions, fulfill orders, communicate with individuals placing orders or visiting the online store, and for related purposes.


Pearson may offer opportunities to provide feedback or participate in surveys, including surveys evaluating Pearson products, services or sites. Participation is voluntary. Pearson collects information requested in the survey questions and uses the information to evaluate, support, maintain and improve products, services or sites, develop new products and services, conduct educational research and for other purposes specified in the survey.

Contests and Drawings

Occasionally, we may sponsor a contest or drawing. Participation is optional. Pearson collects name, contact information and other information specified on the entry form for the contest or drawing to conduct the contest or drawing. Pearson may collect additional personal information from the winners of a contest or drawing in order to award the prize and for tax reporting purposes, as required by law.


If you have elected to receive email newsletters or promotional mailings and special offers but want to unsubscribe, simply email information@informit.com.

Service Announcements

On rare occasions it is necessary to send out a strictly service related announcement. For instance, if our service is temporarily suspended for maintenance we might send users an email. Generally, users may not opt-out of these communications, though they can deactivate their account information. However, these communications are not promotional in nature.

Customer Service

We communicate with users on a regular basis to provide requested services and in regard to issues relating to their account we reply via email or phone in accordance with the users' wishes when a user submits their information through our Contact Us form.

Other Collection and Use of Information

Application and System Logs

Pearson automatically collects log data to help ensure the delivery, availability and security of this site. Log data may include technical information about how a user or visitor connected to this site, such as browser type, type of computer/device, operating system, internet service provider and IP address. We use this information for support purposes and to monitor the health of the site, identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents and appropriately scale computing resources.

Web Analytics

Pearson may use third party web trend analytical services, including Google Analytics, to collect visitor information, such as IP addresses, browser types, referring pages, pages visited and time spent on a particular site. While these analytical services collect and report information on an anonymous basis, they may use cookies to gather web trend information. The information gathered may enable Pearson (but not the third party web trend services) to link information with application and system log data. Pearson uses this information for system administration and to identify problems, improve service, detect unauthorized access and fraudulent activity, prevent and respond to security incidents, appropriately scale computing resources and otherwise support and deliver this site and its services.

Cookies and Related Technologies

This site uses cookies and similar technologies to personalize content, measure traffic patterns, control security, track use and access of information on this site, and provide interest-based messages and advertising. Users can manage and block the use of cookies through their browser. Disabling or blocking certain cookies may limit the functionality of this site.

Do Not Track

This site currently does not respond to Do Not Track signals.


Pearson uses appropriate physical, administrative and technical security measures to protect personal information from unauthorized access, use and disclosure.


This site is not directed to children under the age of 13.


Pearson may send or direct marketing communications to users, provided that

  • Pearson will not use personal information collected or processed as a K-12 school service provider for the purpose of directed or targeted advertising.
  • Such marketing is consistent with applicable law and Pearson's legal obligations.
  • Pearson will not knowingly direct or send marketing communications to an individual who has expressed a preference not to receive marketing.
  • Where required by applicable law, express or implied consent to marketing exists and has not been withdrawn.

Pearson may provide personal information to a third party service provider on a restricted basis to provide marketing solely on behalf of Pearson or an affiliate or customer for whom Pearson is a service provider. Marketing preferences may be changed at any time.

Correcting/Updating Personal Information

If a user's personally identifiable information changes (such as your postal address or email address), we provide a way to correct or update that user's personal data provided to us. This can be done on the Account page. If a user no longer desires our service and desires to delete his or her account, please contact us at customer-service@informit.com and we will process the deletion of a user's account.


Users can always make an informed choice as to whether they should proceed with certain services offered by InformIT. If you choose to remove yourself from our mailing list(s) simply visit the following page and uncheck any communication you no longer want to receive: www.informit.com/u.aspx.

Sale of Personal Information

Pearson does not rent or sell personal information in exchange for any payment of money.

While Pearson does not sell personal information, as defined in Nevada law, Nevada residents may email a request for no sale of their personal information to NevadaDesignatedRequest@pearson.com.

Supplemental Privacy Statement for California Residents

California residents should read our Supplemental privacy statement for California residents in conjunction with this Privacy Notice. The Supplemental privacy statement for California residents explains Pearson's commitment to comply with California law and applies to personal information of California residents collected in connection with this site and the Services.

Sharing and Disclosure

Pearson may disclose personal information, as follows:

  • As required by law.
  • With the consent of the individual (or their parent, if the individual is a minor)
  • In response to a subpoena, court order or legal process, to the extent permitted or required by law
  • To protect the security and safety of individuals, data, assets and systems, consistent with applicable law
  • In connection the sale, joint venture or other transfer of some or all of its company or assets, subject to the provisions of this Privacy Notice
  • To investigate or address actual or suspected fraud or other illegal activities
  • To exercise its legal rights, including enforcement of the Terms of Use for this site or another contract
  • To affiliated Pearson companies and other companies and organizations who perform work for Pearson and are obligated to protect the privacy of personal information consistent with this Privacy Notice
  • To a school, organization, company or government agency, where Pearson collects or processes the personal information in a school setting or on behalf of such organization, company or government agency.


This web site contains links to other sites. Please be aware that we are not responsible for the privacy practices of such other sites. We encourage our users to be aware when they leave our site and to read the privacy statements of each and every web site that collects Personal Information. This privacy statement applies solely to information collected by this web site.

Requests and Contact

Please contact us about this Privacy Notice or if you have any requests or questions relating to the privacy of your personal information.

Changes to this Privacy Notice

We may revise this Privacy Notice through an updated posting. We will identify the effective date of the revision in the posting. Often, updates are made to provide greater clarity or to comply with changes in regulatory requirements. If the updates involve material changes to the collection, protection, use or disclosure of Personal Information, Pearson will provide notice of the change through a conspicuous notice on this site or other appropriate way. Continued use of the site after the effective date of a posted revision evidences acceptance. Please contact us if you have questions or concerns about the Privacy Notice or any objection to any revisions.

Last Update: November 17, 2020