Infopath form does not fill sharepoint site column as expected - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Infopath form does not fill sharepoint site column as expected

Last post 07-02-2010 05:31 AM by DaveD. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 11-24-2009 08:03 AM

    Infopath form does not fill sharepoint site column as expected

    Hi guys,

     finally I found an Infopath forum with an active user base! That's great!

     Here is my first problem:

    I have one Sharepoint List containing all projects of a company with some metainformation. Additionally I have a document library, where all project related documents should go. Since I want to put all documents of all projects in there I want to assign related projects to the documents. Normally I would simply add a column to the document library defining it as a lookup on the project name.

    But in this case I have to different content types allowed in this document library. One word document (e.g. Statement of Work) and one Infopath form (Checklist). For both the metainformation "related project" shall be mandatory. That works fine for the Word document, the related project column is defined as site column and added to the word content type. When I create a new document I have to choose a related project.

    For the Infopath document it does not work. I mapped one field of the infopath form to the same site column "related project". The field within Infopath is a lookup on the same project list like before. However, when I create a new Checklist and choose the related project within Infopath, this information is not written in the related project field within sharepoint. It's empty instead.

    Within the Document Library settings, I can verify that both content types have mapped the "related project" column.

    I think, I'm missing something here, since I guess it should be possible. One goal of all this is to connect the respective webparts using the related project column.

     

    Cheers Chris

  • 11-25-2009 06:31 AM In reply to

    Re: Infopath form does not fill sharepoint site column as expected

    Hi Chris,

    I don't think separate content types can use the same column. Try defining a separate column for InfoPath and then usng a rule in the view to display contents of one column or another depending on the type.

    Patrick Halstead
    Project Manager at Qdabra
  • 12-01-2009 01:21 AM In reply to

    Re: Infopath form does not fill sharepoint site column as expected

    Have you promoted the field in infopath to a sharepoint column?

    Tools->Form Option -> Property Promotion

    Source: http://blog.ksenthil.net/archive/2009/07/25/promoting-properties-e28093-expose-infopath-fields-as-site-columns.aspx 

     

    Cheers  Rody

  • 07-02-2010 05:31 AM In reply to

    • DaveD
    • Not Ranked
    • Joined on 07-01-2010
    • Posts 1

    Re: Infopath form does not fill sharepoint site column as expected

    Chris, I'm having the same issue, although my setup is a bit simpler:

    I've got a Form Library with a few custom columns added. One of these custom columns is a lookup to another list on the same site (linked on the Title field, not ID).

    Then I created a simple InfoPath test form, and using it I can submit to the Form Library and every field except for my lookup works 100%. The lookup column in SP just ends up blank.

    I've tried binding that lookup column to a dropdown list in InfoPath which is populated with all of the Title fields from the related list, and I've also tried just making it a Text Box and entering in a known value (in case the value being returned from the Drop-Down List control wasn't the displayed string). Either way, the value in the lookup column is just blank.


    Filed under: , ,
Page 1 of 1 (4 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.