Microsoft KB Archive/923519

= Some fields that are promoted as columns do not appear in the columns list in a document library after you publish an InfoPath 2007 form template to a SharePoint Server site as the document library =

Article ID: 923519

Article Last Modified on 11/3/2006

-

APPLIES TO


 * Microsoft Office Forms Server 2007
 * Microsoft Office InfoPath 2007

-





SYMPTOMS
After you publish a Microsoft Office InfoPath 2007 form template to a Microsoft Office SharePoint Server site as a document library, some of the fields that are promoted as columns do not appear in the columns list in the library.



CAUSE
This issue occurs if the fields in the InfoPath 2007 form template are bound to the integer data type. When you specify a numeric data type in InfoPath 2007, you can select either Whole Number (integer) or Decimal (double). Microsoft Windows SharePoint Services only has a number data type that can accept these two types of values. However, an integer data type in InfoPath 2007 cannot accept a decimal value because no direct relationship exists to a SharePoint data type. Therefore, those fields cannot be displayed in the column list.



STATUS
Microsoft has confirmed that this is a bug in the Microsoft products that are listed in the &quot;Applies to&quot; section.



Steps to reproduce the issue
 Create a new blank InfoPath form. To do this, follow these steps:  Start InfoPath 2007 On the File menu, click Design a Form. Click Blank, and then click OK.  Add three text box controls to the form, and name the controls field1, field2, and field3.</li> Configure the controls. To do this, follow these steps:  Leave the data type of the field1 control as Text (string).</li> Double-click the field2 control, click Whole Number (Integer) in the Data type list, and then click OK.</li> Double-click the field3 control, click Decimal (double) in the Data type list, and then click OK.</li></ol> </li> Publish the InfoPath form to the server as a document library. To do this, follow these steps:  On the File menu, click Publish, and then save the file when you are prompted.</li> Click To a SharePoint Server with or without InfoPath Forms Services, and then click Next.</li> Type the location of the SharePoint Server 2007 or InfoPath Forms Service site, and then click Next.</li> Click Document Library, and then click Next.</li> Click Create a new document library, and then click Next.</li> In the Name box, type ColumnTest, and then click Next.</li> Click Add, click field1, and then click OK.</li> Repeat step 3g for the field2 and field3 controls.</li> <li>Click Next, click Publish, and then click Close.</li></ol> </li> <li>Open the ColumnTest form library, and then click Form Library Settings in the Settings list.

Under Columns, only Field 1 and Field 3 appear.</li></ol>

Additional query words: IP2007 InfoPath2007 57624

Keywords: kbexpertiseinter kbtshoot kbbug KB923519

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.