Visual Studio
With the introduction of the Office Open XML Formats in the 2007 release, the process for programmatically using XSLT to generate Word 2007 documents has changed somewhat since the Office 2003 days. For those of you not interested in working with XSLT, this post describes an alternative for programmatically generating Word 2007 documents from InfoPath 2007 forms...
posted @ Friday, August 08, 2008 3:20 PM | Feedback (7)
The XmlFormView is a common way to display Office InfoPath 2007 browser forms on a custom ASPX page. One thing to keep in mind though is that the InfoPath form template that is to be displayed in the XmlFormView control must reside in the same site collection as the custom ASPX page...
posted @ Wednesday, February 20, 2008 11:47 AM | Feedback (2)
If you want to display auxiliary information within your InfoPath form solutions, using custom task panes is a viable option. I recently developed a form template that identified different hardware types in a repeating table control. The unique identifier for each hardware type was the model number. In this particular solution, the customer wanted hardware spec information for a particular model to be displayed in the task pane...
posted @ Wednesday, January 23, 2008 12:52 PM | Feedback (0)
After reading my four-part series about the time-off request solution, someone asked if it were possible to retrieve user information into the form and thus save the end user from having to select an employee name from a drop-down list box control. Immediately, I thought of the declarative userName function in InfoPath 2007. Unfortunately, as I later found out from the InfoPath product team, this function is not supported in the Document Information Panel...
posted @ Wednesday, October 03, 2007 3:19 PM | Feedback (2)
When designing Microsoft Office InfoPath form templates, filtering can be used to limit the options that are displayed to users in certain controls. However, if you are designing an Office InfoPath 2007 form template for a browser scenario, it should be noted that filtering is not supported. In this post, I offer a workaround for the unsupported filtering feature...
posted @ Tuesday, January 16, 2007 5:39 PM | Feedback (2)
The 2007 Microsoft Office release has built-in support for running InfoPath forms in a mobile Web browser. Granted, there are limitations to the form behavior. For instance, all formatting and layout in views are ignored, and controls such as the rich text box, option button, and section are not supported. Still, the fact that InfoPath form data can be submitted from mobile devices opens up a broad range of user scenarios...
posted @ Tuesday, August 22, 2006 2:16 PM | Feedback (5)
Microsoft Office InfoPath 2007 supports parameters for browser forms. This functionality can make form solutions more dynamic and requires only a small amount of code. Within the Loading event of the form template, the TryGetValue method is needed for each parameter value that is being passed. Then, the appropriate fields in the form file can be set accordingly...
posted @ Monday, July 24, 2006 11:35 AM | Feedback (6)
The much-hyped building permit application solution, which was featured in John Peltonen's Tech•Ed 2006 demo and will be presented as an instructor-led lab later this month at TechReady3, includes a feature that has not been discussed in great length but has been sought after by developers for a long time. The feature, having a Microsoft Office InfoPath 2007 form hosted in a custom Web page, is used at the beginning of the demo—when the applicant first provides building project information...
posted @ Friday, July 14, 2006 10:22 AM | Feedback (0)
Recently, we were tasked with building a budget solution prototype that uses Access with InfoPath. Within the InfoPath form, users could update multiple tables with a single action, and it became necessary for us to create custom calls to the database with managed code. As it turns out, using managed code to submit data from InfoPath to Access is not as arduous as it sounds...
posted @ Thursday, May 05, 2005 4:55 PM | Feedback (8)
You can work with ADO.NET DataSet objects to retrieve and submit data in InfoPath SP1. Note, however, that there are limitations when working with a DataSet.
posted @ Wednesday, October 13, 2004 8:58 AM | Feedback (0)