Working with VSTO 2008 Projects in InfoPath 2010

The InfoPath team is busy working on the next version of Office.  While we’re offline, we’d like to take the opportunity to tackle some of the questions that we get asked frequently by InfoPath users.     Today I’ll talk about how to migrate your InfoPath projects from Visual Studio Tools for Office 2005 or Visual…

8

Debugging Sandboxed Code in InfoPath 2010 Forms

In this video demo, Phil Newman from the InfoPath program management team shares some tips and tricks for debugging InfoPath forms with sandboxed code on SharePoint server 2010. Here is this link to the ULS viewer tool that is used in the demo: Download location: http://code.msdn.microsoft.com/ULSViewer Location of ULS logs on SharePoint server: C:Program FilesCommon…

13

Add items to a SharePoint list using managed code

In this video demo, Phil Newman shows how you can write managed code in an InfoPath form to add items to a SharePoint list, and then publish this form as a sandboxed solution to SharePoint. In InfoPath 2010, forms with code can now be published directly to SharePoint without requiring the farm administrator to approve…

17

Introduction to Programming in InfoPath 2010

Hello, my name is Christopher Brotsos, and I’m a Program Manager on the InfoPath team. In this post, I’m going to show you how to add business logic to your forms using managed code. Imagine a scenario where the accounting department at Contoso, Inc. tracks corporate assets through an Asset Management System built on SharePoint….

30

New InfoPath content on the web

I wanted to take a moment to recognize the great work of the Microsoft writers and editors who have been cranking out InfoPath content over the last few months.  While we in the product team have clicked over into Office 14 mode, they have continued to serve customers by creating Office 2007 content – everything from…

7

How to Integrate the .NET Framework SDK Documentation with VSTA

The .NET Framework 2.0 SDK documentation includes the Visual Basic and Visual C# language references, as well as the documentation for the .NET Framework classes. You can download and integrate this documentation into the Help viewer for the Visual Studio 2005 Tools for Applications (VSTA) integrated development environment (IDE) that ships with InfoPath 2007. After doing…

8

Displaying Contextual Help in a Custom Task Pane

With all the wonderful features in the new Office apps, it’s easy to get lost!  InfoPath is no exception, and when you make clever use of the new features, you’ll want to make sure that users understand how your form is supposed to work.  Wouldn’t it be great if you could display contextual help information as…

8

Transforming InfoPath Rich Text to Word

This article applies to InfoPath 2003 and Word 2003. Summary InfoPath is great for capturing structured data. A common scenario is that you need to output that data in a Word document. It is quite easy to create an XSLT transformation that will take the XML generated by InfoPath as input and generate WordprocessingML tags. For…

3

SQL Server 2005, Part III: Magic of Structured Search

You were patient enough to read through my ramblings about why Yukon and InfoPath are a match made in heaven, and how to set up basic interop. But these two articles left you dreaming of more. Well, that was their purpose :-). Magic begins: Structure-aware query. Full text search is, ahem, much less powerful. Just…

1

Get the User Profile through MOSS Web Services

It is now easier than ever to pre-populate your InfoPath 2007 forms with the user profile information of the current user. Background: In Microsoft SharePoint Server 2003, the UserProfileService.GetUserProfileByName(string accountName) web service method required the caller to pass the account name (e.g., domain\alias) associated with the user profile to retrieve.  Though required, this argument was…

37