28. May 2010 13:11
Recently I’ve been working in InfoPath 2010 building out a bunch of new forms for SharePoint Saturday and I discovered a new feature that prevents controls automatically being added to the design page with the default field naming convention. In InfoPath 2007 this default functionality drove me nuts because I didn’t have any control of the default field names if I wanted to design the form visually first.
Example: field2, field3
Now in InfoPath 2010 you can prevent this by happening by unchecking the “Automatically create data source” check box located at the bottom of the Controls task pane.
If you are sitting there scratching your head saying how do I get the Controls task pane to display don’t feel alone because it took me about 10 times playing with InfoPath 2010 to find it. From the Controls section on the ribbon click the diagonal down pointing arrow and that will display the Controls task pane.
Now look at the bottom of the Controls task pane and you’ll find the magical check box. By unchecking this check box you will now be shown the binding dialog every time you add a new control to the design area.
For all my new forms for the next couple of months I’ll be leaving the check box unchecked and designing my forms visually to see if this is a better approach for me than my traditional method.