Getting Started Developing Form Templates with Code

This section provides information on how to get started creating managed code form templates that work with the InfoPath object model provided by members of the Microsoft.Office.InfoPath namespace.

In this section

What's New for InfoPath Developers

Provides information on new features and improvements that are of interest to developers.

Understanding InfoPath Object Models and Development Environment

Describes the two kinds of programming models for developing business logic in form templates, and the Visual Studio 2012 development environment supported by InfoPath.

Develop with Visual Studio

Describes how to install the Visual Studio 2012 environment.

Install Local .NET Framework Help for Visual Studio Tools for Applications

Describes how to install a local copy of the .NET Framework documentation for offline use in the Visual Studio 2012 environment.

Add an Event Handler

Describes how to add event handlers to an InfoPath managed code form template.

Preview and Debug InfoPath Form Templates with Code

Describes how to preview and debug InfoPath managed code form templates.

Preview and Debug Form Templates that Require Full Trust

Describes how to preview and debug InfoPath managed code form templates that contain business logic that requires full trust.

Walkthrough: Creating a Basic Form Template with Code

A step-by-step guide that provides an introduction to creating and debugging a basic InfoPath managed code form template

Log Values to a Field for Debugging

Describes how to create a multi-line field and a helper function for logging debugging information.

Open or Convert a Form Template Created with the InfoPath Toolkit

Describes how to open or convert a managed code form template created with the InfoPath 2003 Toolkit and Visual Studio .NET or the InfoPath 2003 Toolkit for Visual Studio 2005.

Deploy InfoPath Form Templates with Code

Describes how to deploy InfoPath managed code form templates.

How Do I...In InfoPath Form Templates with Code

Provides a summary of common tasks for developers of InfoPath managed code form templates.

Work with the XPathNavigator and XPathNodeIterator Classes

Provides a summary of the members of the InfoPath managed code object model that use the XPathNavigator and XPathNodeIterator classes to work with XML data.

Use SharePoint Object Model Members

Describes how to create a reference to the Microsoft.SharePoint assembly so that you can write code against its object model from form code.

Publishing Forms with Code

Describes the differences between publishing sandboxed solutions and administrator-deployed solutions.

Sample Sandboxed Solutions

Provides two examples that show the kind of code that you can write in an InfoPath sandboxed solution.

Additional Resources for InfoPath Form Template Developers

How to find additional sources of information for InfoPath developers.