Debugging Browser Forms: Determine the right w3wp.exe

Last week, we posted an article on techniques around debugging browser forms. We received a few questions around the recommended way to find the right w3wp.exe process to attach to – this article aims to help. Non-production Server (where you can do anything without users complaining about service availability) It is good idea to use…

1

The xsi:nil attribute

Have you ever tried to programmatically set a value on a field only to get a “schema validation” error? Many times, this error is caused by the “nillable” attribute being present on the node. The nillable attribute is a special attribute that can appear on an xsd:element within an XML schema. If an element has…

12

Conditional Default Values

Sometimes you want the default value of a field to be dependent upon a condition. However, there isn’t any direct functionality to support IF statements in the default values of fields. Substituting a rule for a default value only gets you so far, as the rule is only applied when that field that changes, not the fields…

25

Debugging Browser Forms

Debugging InfoPath forms in the client environment is relatively simple: set a breakpoint, press F5 and execute the process that will cause the breakpoint to be hit. However, debugging InfoPath forms that are opened in the browser requires some additional steps: 1) Ensure the InfoPath Form Template is compiled in the Debug Configuration so the…

3

Workflow user experience in InfoPath

Microsoft Office SharePoint workflow can be described as a series of tasks implemented with specific business needs to help people manage their project tasks. In Microsoft Office InfoPath 2007, we provide the workflows user experience for InfoPath forms. Additionally, we enable InfoPath business logic to key off workflow properties. This article will demonstrate how to…

12

Web services are a peach, and then? UDDI!

I’ve been blogging quite a bit about the brave new world of data connection libraries and UDC files. A data connection library is the recommended way to expose data connections for use in enterprise InfoPath forms. Users can easily select an appropriate connection by name and description without needing to know the connection details –…

1

InfoPathDev.com: Excellent InfoPath Resource

Shoutout to InfoPathDev.com – several of our product team alums are hosting an excellent resource for the InfoPath developer community. Lots of great content there: sample form templates, very lively forums, and walkthroughs. My personal favorites: 1) Localizing form templates. Very clever method, using secondary data connections to store localizations in XML files. I still refer…

2

Integrated Innovation: Access Data Collection

One of the major bets we continue to work on delivering is the notion of integrated innovation.  Across Office, we have applications that are great at certain tasks and one of our jobs is to try and bring those great technologies together to make a fantastic customer experience.  A great demonstrations of this integrated innovation…

2

Powerful Declarative Logic: Phone Number Parsing

When entering phone numbers in InfoPath, you can validate that it is a phone number easily enough (Data Validation->field1 “matches pattern” Phone number), but what do you do if the input does not match that pattern? Asking users to exactly enter the format “(000) 000-0000” may be a little constraining. Therefore, you may want a rule so…

10

Interesting InfoPath/SharePoint Blog

Shoutout to Kristof De Causemaeker – his blog has interesting articles on both InfoPath and SharePoint; couple particularly cool posts: 1) Great walkthrough on template parts, new InfoPath 2007 feature that allows you to modularize components of your form templates. 2) Cool trick on how to make picture buttons in InfoPath 2003 and 2007. It won’t work in browser…

1