Microsoft InfoPath 2010
The official blog of the Microsoft InfoPath team

  • Microsoft InfoPath 2010

    Debugging Browser Forms: Determine the right w3wp.exe

    • 1 Comments

    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 Visual Studio to debug W3WP.exe. It is easier than using WinDbg but way more heavy weight to install. In any case make sure you have proper symbols servers configured properly or have PDB files for your code handy.

    • The easiest approach is to attach to all worker processes at the same time. Both Visual Studio and WinDbg support this.
      To do so, go to "Attach to process" (available in "Tools" menu for VS, "File" menu for WinDbg) and attach to all W3WP processes. Breaking into debugger (on breakpoint or exception) will affect all sites. Users likely to get timeouts or other forms of "service unavailable" responses; make sure noone loses their data while you are debugging.
    • Run IISreset and then execute single request to site you want to debug. It is very likely that there will be only one W3WP started at this point.

    Options for production servers apply to non-production servers, too, but not vice versa :-).


    Production Server

    You are likely will be limited to grabbing stack trace/full memory dump at the moment of exception using WinDbg. You still need process ID; here are 2 way to get it without hurting the server.

    1) Use %windir%\system32\iisapp.vbs to get process IDs of W3WP processes. Note that it might be not trivial to figure out what W3WP to attach to if AppPool is configured as Web Garden or non-default option (new App Pool with port as part of app pool name) was chosen when Web Application was created.

    2) Look into WSS logs (...\web server extensions\12\logs\) for recent entry related to W3WP. Even better, just look for failure trace in the log file and second column is process ID to debug. Note that it could be good idea to bump logging level to Verbose to some or all categories related for Forms Server on "Central Administration" -> "Operations" -> "Diagnostic Logging" page.

    Alexei Levenkov
    Software Design Engineer

  • Microsoft InfoPath 2010

    Interesting InfoPath/SharePoint Blog

    • 1 Comments

    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 forms, but it can make your smart client forms prettier.

    Alex Weinstein
    Program Manager

  • Microsoft InfoPath 2010

    New book on SharePoint content types

    • 2 Comments

    Have you ever wanted to do more with content types in SharePoint, but weren't quite sure how?  There's a new book by David Gerhardt and Kevin Martin which goes deep on the subject, including a chapter on creating Document Information Panels using InfoPath.

    Check it out!

    http://www.amazon.com/Building-Content-Type-Solutions-SharePoint/dp/1584506695/ref=sr_1_1?ie=UTF8&s=books&qid=1221580433&sr=8-1

  • Microsoft InfoPath 2010

    Yesterday's WebCast

    • 0 Comments

    Hello everyone,

    I want to personally thank those of you who attended yesterday’s WebCast: InfoPath in End-to-End Enterprise Solutions: Integrating InfoPath with Siebel and SAP which was presented by Hagen Green.  I hope you enjoyed the talk as much as I did and were able to learn something new.  Also, I hope you filled out a survey at the end of the talk so you are entered in the Halo 2 contest.  (Please visit the following URL to view the contest rules: http://msdn.microsoft.com/office/understanding/infopath/multimedia/halo/default.aspx.)

    If you were unable to attend the talk, don’t worry.  It was recorded and is available via the following URL: http://msevents.microsoft.com/cui/eventdetail.aspx?EventID=1032259542&Culture=en-US.  (You will have to register before you can view the recorded WebCast.)

    Please join us next Monday, November 15 from 11am – 12:30am PST for the next presentation in the InfoPath WebCast series: “Digital Signatures in InfoPath 2003” which will be presented by Mihaela Cristina Cris, a Software Test Engineer on the InfoPath team.  You can register for this talk by clicking on the following URL: http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032259544&Culture=en-US. I hope you will join us.

    Here is more information about the talk:

    MSDN Webcast: Digital Signatures in InfoPath 2003—Level 300    

    Start Time:       Monday, November 15, 2004 11:00 AM (GMT-08:00) Pacific Time (US & Canada

    End Time:        Monday, November 15, 2004 12:30 PM (GMT-08:00) Pacific Time (US & Canada

    Event Description 

    Microsoft® Office InfoPath™ 2003 SP1 implements digital signatures to secure data in InfoPath forms and to ensure the integrity, authenticity and support for non-repudiation related to data in XML forms. InfoPath digital signatures target data in InfoPath XML form files and can then design and create digital signatures for the entire form or for parts of the form, following the W3C XML Digital Signatures Standard specifications. All these features will be explained in detail during this webcast presentation, along with the InfoPath Object Model for digital signatures. The last part of the presentation will show users how to build a sample form that enables digital signatures and displays existing signatures in a dedicated task pane.

    Presenter: Mihaela Cristina Cris, Software Test Engineer, Microsoft Corp.

    Mihaela Cristina Cris is a Software Test Engineer in the Microsoft® Office InfoPath™ group working with digital signatures in both RTM and SP1 versions of the product.

    Thanks,

    Scott

  • Microsoft InfoPath 2010

    InfoPath 2010 is unveiled at the SharePoint Conference

    • 4 Comments

    As many of you may know, the SharePoint Conference 2009 is taking place this week in Las Vegas, Nevada and it's been a particularly exciting week for the InfoPath product team. Over the past 3 years of product development, we have made huge investments in integrating with the SharePoint platform. Finally, this week, we got the opportunity to unveil the fruits of these investments to the world, and so far, the reception has been tremendously positive! (Check out what people are saying about InfoPath 2010 on Twitter.)

    SPC is taking place at the Mandalay Bay Hotel:

    SPC 2009 - Mandalay Bay Hotel

    InfoPath Booth:

    (from left: Umut Alev - development lead, Peter Allenspach - group program manager, Rick Severson - test lead):

    SharePoint Conference - InfoPath Team Members

    InfoPath 2010 is well represented at this year's conference with a total of 5 sessions. The 1st session took place on Monday and was presented by Peter Allenspach and Bojana Duke from the InfoPath program management team.

    The InfoPath session drew big crowds:

    SPC 2009 - InfoPath Session Audience

    The session opened with an introduction to InfoPath 2010, followed by 3 feature demos which illustrated just how easy InfoPath 2010 makes it for Information Workers to create their own solutions without reliance on IT departments. Some highlights below -

    InfoPath 2010 Overview:

    InfoPath 2010 Overview

    Demo 1: Customizing a SharePoint list form

    In this demo, Peter and Bojana walked through a real Microsoft internal College Recruiting scenario. Employees use SharePoint lists to sign up for recruiting trips. Bojana wowed the audience by taking the Recruitment Trip list form and customizing it in InfoPath in under a minute!

    Peter and Bojana then went on to show how this form could be further enhanced and customized. Our new out of the box rules were used to add data validation and to conditionally show or hide sections in the form. A data connection to the Colleges list was added to pull details about the colleges into the recruiting trip sign-up form. The form layout was customized using our new pre-built layout tables and themes. They then showed how in a single click, the form could be published to SharePoint. Not only that, but they then showed how the list, including the customized form could be taken offline in SharePoint Workspace.

    Last but not least, they opened the form in Firefox showing that you can use your browser of choice to fill out your forms.

    Before Form:

    SharePoint List - Default Form

    After Form:

    SharePoint List - Customized InfoPath Form

    Offline Form in SharePoint Workspace:

    SharePoint WorkSpace - Offline Form

    Demo 2: Creating Mashups using the InfoPath Form Web Part
    The 2nd demo took the Recruiting scenario to the next level. In this demo, Bojana created a simple portal page with 2 Web Parts, the Recruiting trip list and the new InfoPath Form Web Part. In only a few clicks, she connected the 2 Web Parts. Now when she selected an item in the recruitment list, the details for that trip were displayed in an InfoPath form.

    Portal Page:

    InfoPath Form Web Part

    They concluded the 2nd demo by showing that both SharePoint solutions and InfoPath forms are truly portable and reusable. The site was saved as a template (WSP) and a new site was created from this template. The SharePoint list, portal page and InfoPath form were fully functional on this new site.

    Demo 3: Office Business Applications: Procurement scenario
    In this final demo,  Peter and Bojana showed the audience how InfoPath helps IT departments develop full Office Business Applications on the SharePoint platform. They used a procurement scenario to demo these capabilities. In this scenario, an employee submits a request to purchase a new laptop computer. The solution used an InfoPath form that connects to a vendor database, that brings in details about the goods you can purchase.

    Procurement Form:

    Procurement Form

    This type of application can be built in SharePoint Designer, using web part pages to create the user experience. The data can be stored in form libraries, SharePoint lists, and external systems using Business Connectivity Services. If InfoPath rules don’t do the job of defining the desired form behavior sandboxed or full trust code can be added to the forms. SharePoint workflows can be used to send e-mail notifications and track status. And once you’re all done, you can package your application so it can be tested and eventually deployed to the production servers.

    Procurement Portal Page:

    Procurement Portal Page 

    This first session set the stage for the remaining InfoPath sessions of the week:

    • Building Applications with InfoPath and SharePoint Designer (this session took place on Tuesday - more details to follow)
    • Performance Best Practices for Forms Applications
    • InfoPath 2010: Form Design Best Practices
    • Form-Driven Mashups using InfoPath and Forms Services 2010

    Stay tuned for more updates from Las Vegas!

  • Microsoft InfoPath 2010

    Problems downloading/installing the InfoPath SDK?

    • 1 Comments

    We're getting reports from some users who are having problems installing the InfoPath SDK. The problem appears to be caused by intermittent network traffic issues causing downloads to fail part-way through. You'll end up with a file that appeared to download but is missing some or most of the data. Restarting the download sometimes accesses the incomplete cached version, which doesn't improve the situation.

    The file size of InfoPathSDK.msi downloaded from http://www.microsoft.com/downloads/details.aspx?FamilyId=351F0616-93AA-4FE8-9238-D702F1BFBAB4&displaylang=en should be 4.34 MB (4,552,192 bytes). If you end up with a smaller file it's been truncated due to network problems, and the install will fail. Clear your browser cache (in IE: Tools | Internet Options, Delete Files...) and try the download again.

     

  • Microsoft InfoPath 2010

    The Microsoft Office InfoPath 2003 SDK has been updated for SP1!

    • 2 Comments

    The Microsoft Office InfoPath 2003 Software Development Kit (SDK) contains sample forms, tools, macros, code libraries, and documentation to assist with InfoPath form development in both InfoPath 2003 and InfoPath 2003 SP1.

    Here’s what’s new in the updated SDK

    • New tool: Using the InfoPath to Word Wizard
    • New code library: Build a Custom BizTalk 2004 Pipeline Component
    • New code library: Build a Custom Importer
    • New code library: Using a Custom Script Library for Common Tasks
    • Macros to assist in Visual Studio Development
    • Ability to create installers in multiple languages with the RegForm tool
    • Other improvements and updates to the existing tools
    • 6 new common developer tasks
    • Many SP1 updates to existing content and tools
    • Updated InfoPath Developer’s Reference

    Download the SDK today!  Go to http://www.microsoft.com/office/infopath and look in the Downloads section at the bottom of the page.

  • Microsoft InfoPath 2010

    WebCast: Best Practices for Designing InfoPath Forms

    • 0 Comments

    Here's a quick note from Scott Roberts, a developer on the InfoPath team who presented the WebCast:

     

    I want to personally thank those of you who attended yesterday’s WebCast: Best Practices for Designing InfoPath Forms.  I hope you enjoyed the talk and were able to learn something new.  If you were unable to attend the talk, don’t worry.  It was recorded and is available via the following URL: http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032259532&Culture=en-US.  (You will have to register before you can view the recorded WebCast.)

     

    Also, please join us next Tuesday, October 9 from 9am – 10:30am PST for the next presentation in the InfoPath WebCast series: User Roles in InfoPath 2003.  You can register for this talk by clicking on the following URL: http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032259537&Culture=en-US.  I hope you will join us.

     

    Here is more information about the talk:

     

    MSDN Webcast: User Roles in InfoPath 2003—Level 200

     

    Description:

     

    Would you like to see just how easy Microsoft® Office InfoPath™ is to use? Join this webcast to discover how to create a view and user roles for a form, set up rules based on the roles, and preview a form with specific user roles. You will also learn how to switch views based on user roles.

     

    Josh Bertsch, Software Test Engineer, Microsoft Corp.

    Josh Bertsch has been a Software Test Engineer with the Microsoft® Office InfoPath™ team for nearly 3 years. Josh owned several of the newly included features for the SP1 release, such as Calculations and Roles, among others.

    Presenter:

     

    Thank you,

    Scott

     

  • Microsoft InfoPath 2010

    MSDN Webcast: InfoPath in End-to-End Enterprise Solutions

    • 0 Comments

    Hello everyone,

    I hope you will join us for the next presentation in the InfoPath WebCast series - InfoPath in End-to-End Enterprise Solutions: Integrating InfoPath with Siebel and SAP. This talk will be presented by Hagen Green, a tester in the InfoPath group, Monday starting at 11am PST.  If you haven’t already, you can register here: http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032259542&Culture=en-US.

    Also, remember that those of you who view the talk and fill out a survey will be entered into a drawing for a copy of Halo2.  (Please visit the following URL to view the contest rules: http://msdn.microsoft.com/office/understanding/infopath/multimedia/halo/default.aspx.)

    Here is more information about the talk:

    MSDN Webcast: InfoPath in End-to-End Enterprise Solutions: Integrating InfoPath with Siebel and SAP—Level 300    

    Start Time:       Monday, November 08, 2004 11:00 AM (GMT-08:00) Pacific Time (US & Canada) 
    End Time:        Monday, November 08, 2004 12:30 PM (GMT-08:00) Pacific Time (US & Canada) 

    Event Description 
    Integrate CRM software, such as SAP and Siebel, with Microsoft® Office InfoPath™.  In this presentation you will learn how to leverage the flexibility of XML Web services to create a seamless data flow between disparate systems. InfoPath provides for a rich data entry and viewing point while isolating the exposure of sensitive back-end data.

    Presenter: Hagen Green, Software Test Engineer, Microsoft Corp.

    Hagen Green is a Software Test Engineer for the Microsoft® Office InfoPath™ team. Hagen contributed to the InfoPath Designer platform, Web services, and ADO.NET support features.

    Thanks,
    Scott

     

     

  • Microsoft InfoPath 2010

    Tudor's overview of InfoPath browser-based forms

    • 1 Comments
    This is my first blog on InfoPath 12 so please allow me to introduce myself. I’ve started in Microsoft as a developer on FoxPro. If anyone still remembers the database container and the client connectivity, those are features I contributed to many years ago. Later on I moved to program management and worked on the` data access stack in the early days of odbc, oledb, and ado. I’ve always been passionate with data processing so, about five years ago, I’ve been super excited to participate in jump-starting an incubation project for authoring generic XML. That project grew into InfoPath 2003, then SP1, and now the brand new InfoPath v2 in Office 12.
     
    After we shipped InfoPath 2003, we’ve surveyed InfoPath users and asked them for the most important feature round-outs they’d like to see in the product. In SP1 we’ve addressed 9 out of the top 10 requests. However we couldn’t address request #1 which was filling out InfoPath forms in the browser. This feature is now available in InfoPath 12! I think the best use of my first post on InfoPath 12 is to give you an insight into browser forms and share some of my thoughts on this feature.
     
    One goal for InfoPath 12 has been to let users design a form once for both the rich client and the browser. Informally we call this feature “design once”. This way the same form template basically addresses scenarios that require the richness of the InfoPath client and scenarios for browser form filling, with zero client footprint. Choosing between rich and reach forms used to be a dividing requirement for form developers. Now InfoPath provides what I think is a very elegant solution for it. In InfoPath 12 users building forms only need to check the “Web browser enabled” checkbox to create a “design once” form. (Yes, I will talk in a follow up post about the “Template Part” option :-)).
     
     
    Our functionality goal for browser forms has been to provide a level of validation for the data entered via the browser than matches that of the data entered in the InfoPath rich client. In other words, for “design once” forms, the xml schema validation, rules, conditional formatting, and business logic apply the same way for both rich and browser forms. InfoPath makes sure that the quality of the data submitted by a form is the same, regardless of the client that has been used to fill it out.
     
    The layout is very similar between the rich and the browser version of a form. As you may know, the InfoPath client uses html for the form layout, which makes it very similar to the same form rendered in the browser. I’ve included below a Loan Application form rendered in InfoPath and in IE. Notice the same in-doc UI for repeating items, the same controls, and the same table layout, which makes the forms virtually identical. One difference is the spellchecking in the InfoPath client, which represents an improvement over the browser form.
     
     
    Here is the same Loan Application form rendered in Internet Explorer:
     
     
    The value of zero footprint forms is not complete if they are not available virtually on any machine and on any platform. InfoPath 12 delivers ubiquity of form filling. Users are able to fill out forms in current versions of IE, Firefox, Safari, and Netscape. The form functionality and validation remains the same across all browsers. We’ve worked hard to provide true ubiquity of form filling in order to allow all users to participate in business-to-citizen scenarios such as banking, insurance, healthcare as well as in many government-to-citizen scenarios. I’ve included another version of the Loan form below, this time rendered in Firefox:
     
     
    In addition to the browsers mentioned above, we are also providing InfoPath forms for mobile devices. The set of controls available for mobile browsers is more limited. However we expect to run most forms that are appropriate to being filled out on mobile devices. Here is the same Loan form as above rendered on a PDA and on a smart phone:
     
     
    I feel I’ve added a lot of screenshots for a first blog on InfoPath. To my defense, I’ve tried to make a visual statement on the ubiquity of browser forms and on their high layout fidelity in different browsers. I hope you found them valuable.
     
    Finally, I wanted to mention a very important point. The first reaction of some customers when we show them the browser forms is to question the necessity of using the rich client: “If our users can access forms in the browser, with zero footprint, why would they ever need to run rich forms in InfoPath?” This question makes me think of my personal experience with Outlook Web Access. For me it provides a great experience for a browser mail client but I would never use it if I could work in Outlook. The rich functionality and offline caching are features I would never give up. I think InfoPath has a similar value proposition. It provides a smooth, self-contained form filling experience, with no server roundtrips. It gives you the ability to work on your forms offline. It also integrates with Outlook allowing you to route forms in email and store them in form-enabled folders, which become your local version of SharePoint form libraries. In addition, there are a few features, such as ActiveX controls and form rights management that work only in the InfoPath client.
     
    This is my short dive into InfoPath 12 browser-based forms. I know I’ve mentioned a number of features without giving any details but I wanted to keep my posting scoped. I will follow up shortly with more product information. Please send me your comments and help me focus my upcoming posts on areas of most interest to you. Thanks and stay tuned! 
     
    Tudor Toma
    Group Program Manager
  • Microsoft InfoPath 2010

    New Article about the New Developer Features

    • 1 Comments
    Hi all,
     
    I wanted to let you know about a new MSDN article that has just recently been published which outlines the new developer features of InfoPath 2007. Feel free to post any questions or comments you have about the article.
     
    Thanks,
    Scott
  • Microsoft InfoPath 2010

    InfoPath Quick Tip: Object Model Help

    • 0 Comments

    When writing script in the Microsoft Script Editor (MSE), you can quickly locate help on the InfoPath Object Model by positioning the cursor on a keyword (object, method, property) and hitting F1. This can save browsing through help.

    (We weren't able to hook up IntelliSense in MSE, so knowing this F1 trick is a big help when doing VBScript or JScript development with InfoPath. If you download the InfoPath 2003 Service Pack 1 (SP1) Preview and try out the InfoPath 2003 Toolkit for Visual Studio .NET you'll find full IntelliSense integration when writing managed code for InfoPath projects.)

  • Microsoft InfoPath 2010

    Introducing MSDN Web-casts for Microsoft Office InfoPath 2003

    • 0 Comments

    Keep hearing the buzz around Microsoft Office InfoPath 2003 and want to learn more? Excited about the feature enhancements in InfoPath 2003 SP1 and want to really understand how to use them in your applications? Want to learn cool tips and tricks on how to make your applications stand out? Want to learn how the InfoPath product team, product developers and testers use InfoPath and want to hear their recommendations on make use of the cool new features? Want 100% developer content without any marketing hype? If this resonates with you, you will not want to miss the ten part MSDN web-cast series starting in October and lasting through December 2004. In addition to showcasing best practices, each web-cast is designed to highlight the InfoPath 2003 SP1 feature enhancements. Topics covered will include using Visual Studio .NET and managed code to create InfoPath applications, using custom controls in InfoPath applications, managing users and roles in workflow, using script-less calculations, adding security features in your applications through digital signatures and much more. The web-cast series also offers you the opportunity to interact directly with the product team. For hard core technical content, that you cannot find elsewhere, this is a not to be missed series.

    The following is the schedule of presentations starting in October:

    Title

    Presenter

    Date

    Time

    Best Practices for Designing InfoPath Forms

    Scott Roberts

    Tuesday, October 05, 2004

    9:00 AM-10:30 AM

    http://msevents.microsoft.com/cui/eventdetail.aspx?EventID=1032259531&Culture=en-US

    User Roles in InfoPath 2003

    Josh Bertsch

    Tuesday, October 12, 2004

    9:00 AM-10:30 AM

    http://msevents.microsoft.com/cui/eventdetail.aspx?EventID=1032259537&Culture=en-US

    Building Advanced Dynamic Solutions in InfoPath 2003

    Jun Jin

    Tuesday, October 19, 2004

    9:00 AM-10:30 AM

    http://msevents.microsoft.com/cui/eventdetail.aspx?EventID=1032259110&Culture=en-US

    Business Logic in InfoPath 2003

    Yuet (Emily) Ching and Prachi Bora

    Tuesday, October 26, 2004

    11:00 AM-12:30 PM

    http://msevents.microsoft.com/cui/eventdetail.aspx?EventID=1032259112&Culture=en-US

    Using Managed Code and Visual Studio to Build Solutions

    Willson Raj David

    Tuesday, November 02, 2004

    1:00 PM-2:00 PM

    http://msevents.microsoft.com/cui/eventdetail.aspx?EventID=1032259539&Culture=en-US

    InfoPath in End-to-End Enterprise Solutions: Integrating InfoPath with Siebel and SAP

    Hagen Green

    Monday, November 08, 2004

    11:00 AM-12:30 PM

    http://msevents.microsoft.com/cui/eventdetail.aspx?EventID=1032259542&Culture=en-US

    Digital Signatures in InfoPath 2003

    Mihaela Cristina Cris

    Monday, November 15, 2004

    11:00 AM-12:30 PM

    http://msevents.microsoft.com/cui/eventdetail.aspx?EventID=1032259544&Culture=en-US

    Creating Custom Controls for InfoPath SP-1

    Andrew Ma

    Monday, November 29, 2004

    11:00 AM-12:30 PM

    http://msevents.microsoft.com/cui/eventdetail.aspx?EventID=1032259546&Culture=en-US

    Programming Workflow into InfoPath Solutions: Using InfoPath with BizTalk Server 2004 and Human Workflow Services

    Rick Severson

    Monday, December 06, 2004

    11:00 AM-12:30 PM

    http://msevents.microsoft.com/cui/eventdetail.aspx?EventID=1032259548&Culture=en-US

    Database Connectivity in InfoPath Through ADO.NET DataSet Support

    Mikhail Vassiliev

    Tuesday, December 14, 2004

    11:00 AM-12:30 PM

    http://msevents.microsoft.com/cui/eventdetail.aspx?EventID=1032259550&Culture=en-US

    All times are Pacific Daylight Time (UTC–07:00) until Oct 31, and Pacific Standard Time (UTC–08:00) on and after Oct 31st.

    For details, and to sign up to participate in this series, please click on one of the hyperlinks above.

     

  • Microsoft InfoPath 2010

    Got suggestions?

    • 8 Comments
    One of the reasons we started this team blog was to get your comments (spurred by our tips and tricks), so it's exciting to see more folks chime in. Let me just take a moment to fan the flames…
     
    We're listening
    We're always open to feature requests to help us plan for future versions. And we're also interesting in blog post suggestions, which we'll try to post on quickly. If you have kudos, well of course they're always welcome. So leave a comment to let us know what you're thinking!
     
    Need support?
    If you need help solving a specific question, you're better off in the newsgroups, where both the product team and InfoPath MVPs are on watch and where there's a large archive of other like-minded questions. For more general issues or something you suspect is a bug, check out the support center. And for common tasks and basic overviews Office Online is your best bet.
     
    Thanks!
    - Ned
  • Microsoft InfoPath 2010

    New MSDN Article: Support and Troubleshooting for XML Schemas in InfoPath 2003

    • 0 Comments

    A new article is up on MSDN about working with XML schemas in InfoPath. Although InfoPath 2003 has great support for the W3C XML Schema ("XSD") specification - and even better support with higher performance in SP1 - there are a few constructs that require a little hand-holding. The article also explains in great detail the differences between InfoPath 2003 and InfoPath 2003 SP1 handling of schemas, and some schema constructs that have special meaning to InfoPath.

    Summary: Microsoft Office InfoPath 2003 allows you to create XML form solutions by loading an externally authored XML Schema (XSD) definition file into the InfoPath design environment. Learn how to take advantage of InfoPath support for using externally authored XSD files to create custom form templates, and find out how to troubleshoot common problems.

    Contents
    Introduction
    Unsupported XSD Constructs
    XSD Constructs with Reduced Functionality
    XSD Constructs with Special Meaning in InfoPath
    Debugging Common XSD Errors
    How to Edit or Author an XSD for InfoPath
    Conclusion

    And here's the link:

    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odc_ip2003_ta/html/ODC_INFInfoPathXSD.asp

  • Microsoft InfoPath 2010

    Aggregation: and many became one...

    • 0 Comments

    In InfoPath 2003, forms were equipped to merge in a simple manner: repeating sections and tables would merge to form one, as would the contents of lists or rich text controls. The remainder of the form was not merged. This functionality proved useful for many scenarios, but there was much more that could be done. Unfortunately, the only way to do it was to write your own merge XSL. So, in InfoPath 2007, we’ve enabled options that allow you to customize a form’s merging behavior.

    Merge settings are now available in most fields’ and controls’ Properties dialogs. For fields, you’ll find Merge Settings under the Rules and Merge tab. For controls, under the Advanced tab. The available options will differ based on the settings that are available for each type of field. Here’s an example of options available for repeating fields and groups:

    Notice that you can select the order of the merged items as well as whether to combine entries based on a matching value.

    Merge settings for rich text fields vary somewhat from the repeating group ones shown above:

    One of the most useful options is being able to prefix each merged item with some value. For example, if you’re merging status reports from different members of your team, you may want to prefix each entry with the name of the person submitting the report. This’ll ensure that you can keep track of who said what. You can even add fancy formatting for your visual pleasure.

    Changes to the OM

    In the new InfoPath OM, you will see some changes with regards to merging: there is now only one merge event, called – surprise, surprise – Merge. In InfoPath 2003, there were two events: OnMergeRequest and OnAfterImport. The new Merge event has taken the place of the old OnMergeRequest event. We have chosen to deprecate OnAfterImport because there’s no real need for it: InfoPath code executes sequentially, so any code that would have been included in the OnAfterImport event can be placed directly after the XmlForm.Merge() call that actually performs the merge.

    Using InfoPath 2007 to set merging on your InfoPath 2003 forms

    Because InfoPath strives to achieve backwards compatibility, any form template you design in the InfoPath 2007 designer can be saved as an InfoPath 2003 form template. This will allow users that don’t have the newer version of InfoPath to fill out your form.

    Even though the ability to specify how your form will merge is a new feature in InfoPath 2007, InfoPath 2003 already had the infrastructure in place to make it work. In fact, if you knew how to write the appropriate XSL stylesheet, you could have created all the specific merge functionality that is now permitted through the UI.

    So, bottom line, all the fancy merging work that you do while designing your form in InfoPath 2007 will be respected when you save your form template as InfoPath 2003 and have users with InfoPath 2003 fill it out.

    - Bojana
    Program Manager

  • Microsoft InfoPath 2010

    Tip to improve an InfoPath form's appearance

    • 0 Comments

    Improved InfoPath Form Look and Feel

    Apples to: Microsoft Office InfoPath 2003 and Microsoft Office InfoPath 2003 SP1

    Looking for simple ways to jazz up your form layout?

    Summary

    Using tables, inline images, background colors, and conditional visibility, I created a pretty simple look and feel that groups parts of the UI together that goes a little beyond just borders.

    Example

    Picture of an improved look for an InfoPath form 

    Implementation

    I started by drawing a rounded rectangle in mspaint, then I cut it into smaller images and added it to a table.  For the vertical part which grows, I didn’t use an image, I instead colored the background the same as the image.  Otherwise I couldn’t get it to grow when nested repeating elements would resize.  I removed all borders, padding, and other spacing to get everything to fit together.

    For the repeating section, I used conditional visibility on section with two separate images.  I had to use the following expression to get count and position for repeating sections:

    // count                                    //position

    count(../../my:SummaryItem) != count(../preceding-sibling::node()[local-name() = "SummaryItem"]) + 1

     

  • Microsoft InfoPath 2010

    We want to see your Cool Forms!

    • 7 Comments

    Today sees the launch of “InfoPath Cool Forms”. In this series, we will feature cool forms that showcase a form design practice or interesting scenario.

    This week’s cool form is the “Ask Kanesha” request form.  This is a neat little form that we use on the InfoPath team to submit requests to our Group Business Administrator, Kanesha.

    Ask Kanesha

    Kanesha was being flooded with requests from team members and tracking all these requests was becoming a challenge. To help manage the requests, we created an ‘Ask Kanesha’ InfoPath browser form that submitted all requests to a SharePoint list. Team members use this form to submit requests. A simple workflow fires alerting Kanesha to the new request. Certain requests such as those for small hardware can be completed in minutes. The dropdowns in the form automatically filter to guide us to the right hardware. Other custom requests may take longer and can be managed by Kanesha online. The form saves us time and helps Kanesha keep track of all the requests that come her way.

    If you have a “cool” form that you would like to share with us, please send an e-mail with the following details to coolform@microsoft.com -

    • Attach 1 or 2 screenshots of your form
    • Provide a brief description of the form
    • You may also attach the XSN file (optional)

    The most popular submissions will be featured on our blog in future posts.

    Check out other Cool Forms! here.

  • Microsoft InfoPath 2010

    ActiveX Controls in InfoPath 2003 - in Visual Basic 6.0

    • 1 Comments

    Andrew Ma, a tester on the InfoPath team, has created a Visual Basic 6.0 version of the InfoPath Hands-On Lab for creating custom controls. You can find it here on Andrew's blog:

    http://blogs.msdn.com/ajma/articles/213868.aspx

     

  • Microsoft InfoPath 2010

    Recursive Controls support in InfoPath 2003 SP1

    • 3 Comments

    The SP1 release of InfoPath 2003 supports recursive controls such as Repeating Recursive Section and Optional Recursive Section. Based on the schema of the solution, these controls are automatically suggested when dragging nodes from the Data Source task pane. This article talks about different types of recursion that are supported within InfoPath.

    Direct Recursion:

    This is the case when the node is recurring directly under itself. For example, if you are creating an organization chart, you might have a schema that has the following structure:

    Employee*

    EmployeeData

    ID
    Name
    …..

    Employee*

    Every employee has EmployeeData associated with him and can have 0 or more employees working for him. Note that the * stands for repeating 0 or more times. If you select the top level Employee node in the Data Source task pane, InfoPath would suggest a Repeating Recursive Section in this case with the recursive instance showing up directly under its parent.

    Picture of design mode for the direct recursion structure

    Indirect Recursion:

    This is the case when the node is recurring as a child of another node within itself. For the above organization chart, you may choose to abstract the fact that Employee is a manager or not by introducing an Optional node Manager. In this case the structure is as follows:

    Employee*

    EmployeeData

    ID
    Name
    …..

    Manager?

    ManagerData

    ID
    Name
    NumOfReports
    …..

    Employee*

    In this case, when you drag top level Employee node, InfoPath will create a Repeating Recursive Section that has the recursive instance within an Optional Section that corresponds to Manager node.

    Picture of design mode of the indirect recursion structure

    Potential Recursion:

    This is the case when the node is recurring under as one of the choices under itself. Again taking the above organization chart example, we may choose to not include EmployeeData for managers since it is covered under ManagerData. So now we could have the following structure:

    Employee*

    Choice

    Non-Manager

    EmployeeData
    ID
    Name
    …..

    Manager

    ManagerData
    ID
    Name
    NumOfReports
    …..

    Employee*

    Now we have an employee who can either be a manager or not. In this case, when you drag top level Employee node, InfoPath will create a Repeating Recursive Section that has the recursive instance within a Choice Section.

    Picture of design mode of the potential recursion structure

    In summary, you have seen how InfoPath supports various types of recursion in its SP1 release. These three examples were just to illustrate the broad categories of recursion but you can go beyond these and try various other combinations based on your needs.

  • Microsoft InfoPath 2010

    InfoPath SP1 Preview Form Definition File Schema

    • 1 Comments

    With InfoPath 2003 SP1, there is a new schema for the form definition (.xsf) file, to match the features added to InfoPath. 

     

    There will be a documented roll-out of this schema, along with other InfoPath technical information, when the SP1 is officially released, but for those wanting to get a hold of the raw XSD file now, you can download the following:

     

    xsfschema.zip

     

    (contains xsfschema.xsd.)

     

    Disclaimer: as this schema is the InfoPath 2003 SP1 Preview schema, it is not guaranteed to be final, and might change between now and the official release of InfoPath 2003 SP1.

     

  • Microsoft InfoPath 2010

    MSDN Webcast: Using Managed Code and Visual Studio to Build Solutions

    • 1 Comments

    Hello everyone,

    I hope you will join us for the next presentation in the InfoPath WebCast series - Using Managed Code and Visual Studio to Build Solutions. This talk will be presented by Willson Raj David, a developer in the InfoPath group, tomorrow starting at 1pm PST.  If you haven’t already, you can register here: http://msevents.microsoft.com/cui/WebCastEventDetails.aspx?EventID=1032259539&Culture=en-US.

    Also, remember that those of you who view the talk and fill out a survey will be entered into a drawing for a copy of Halo2.  (The Halo2 promotion is for US Residents only.  Microsoft employees are not eligible.)

    Here is more information about the talk:

    MSDN Webcast: Using Managed Code and Visual Studio to Build Solutions—Level 300    

    Start Time:       Tuesday, November 02, 2004 1:00 PM (GMT-08:00) Pacific Time (US & Canada) 
    End Time:        Tuesday, November 02, 2004 2:30 PM (GMT-08:00) Pacific Time (US & Canada) 

    Event Description 
    Learn where Microsoft® Office InfoPath™ fits into the Microsoft® Office family. Find out about the Object Model and business logic programmability features in the product as well as the Microsoft® Visual Studio® Toolkit and managed code support that is available in InfoPath.

    Presenter: Willson Raj David, Software Design Engineer, Microsoft Corp.

    Willson Raj David is a developer in the Microsoft® Office InfoPath™ product division and has been with the product team for at least four years. He primarily worked on the Designer controls and other features. Willson’s core expertise is Microsoft® C++® and COM and he also has extensive knowledge in many Web technologies.

    Thank you,
    Scott

  • Microsoft InfoPath 2010

    Welcome to the InfoPath Team Blog

    • 7 Comments

    Welcome to the InfoPath team blog here at http://blogs.msdn.com/infopath/

    The InfoPath Team is looking forward to posting a variety of topics for our InfoPath users, including:

    • Feature highlights.
    • Code snippets.
    • Our best practices.
    • Tips 'n Tricks.
    • Common work-arounds.
    • Show how to leverage other Microsoft technology with InfoPath.  

    We're super-excited about InfoPath and look forward to helping our customers realize the most they can out of our new Office System 2003 application.

    Please leave some feedback if there are areas you'd like to see us cover (and please remember the community support via the microsoft.public.infopath newsgroup!).

  • Microsoft InfoPath 2010

    Calling SelectText (and other InfoPath methods with optional parameters) in C# or VB.NET

    • 2 Comments

    In the introduction to SP1, InfoPath added C# support. One issue that some people may run into is that certain OM calls have optional parameters. One such method is the SelectText() method in the View object. The context ID is optional and it not always easily found. In JavaScript of VBscript, the optional parameter would just be omitted and everything would work. In managed code (C# and VB.NET), you cannot omit optional parameters. To get around this, managed code has System.Reflection.Missing.Value which can be used in place of the optional parameter. This will achieve the same result as omitting optional parameters.

  • Microsoft InfoPath 2010

    New InfoPath articles on Office Online

    • 2 Comments

    The following new article and video demos are now available on the InfoPath Home Page on Microsoft Office Online:

     

    Get started: Create a meeting note system with InfoPath and SharePoint-shows you how to use a sample form template included with InfoPath and a SharePoint document library to create a meeting note system.

     

    Demo: Store InfoPath forms in a document library on a SharePoint site-watch how you can publish a sample form template to a new document library.

     

    Demo: Populate a drop-down list box from a SharePoint list—watch how you can put that SharePoint list into a list box control on an InfoPath form template.

     

    At the end of each article, you can let me know if you like or hate these articles by answering the question, Was this information helpful?, and then entering your comments and suggestions in the box. I read your comments every month and either write new or modify existing articles based on your comments.

     

    Thank you for using InfoPath!

     

    Arsenio Locsin

    InfoPath Technical Writer

Page 10 of 12 (298 items) «89101112