Learn how to a build a cloud-first strategyRegister Now


Adding data to an existing SharePoint site column from InfoPath form

Posted on 2009-02-20
Medium Priority
Last Modified: 2012-05-06

I have a InfoPath 2007 form as a site content type in a WSS 3.0 document library. The form has a number of promoted columns and the document library has multiple content types and some custom lookup site columns which need to be used by all the multiple content types. I need the form to add data, not only to the promoted columns, but also to the custom lookup site columns when the form is saved back to the document library. The method that I have used so far is to use a promoted column when publishing the form to the WSS site, but linked to the custom site column, this is excepted OK but the column never gets populated in the doc library?

It will work only if the site column is simple text and is not associated to all content types in the doc library, in my case I need the site column to be lookup or choice and used by all content types within the doc library.

Any suggestions in how to achieve this?


Question by:kbessent1966
  • 2

Expert Comment

ID: 23692339
What I would suggest is to define the column separately in each form/content type. You can add the list that you are looking up from as a data source in your forms and use it as the data source for a drop down control in the form. That should give you the effect you are after

Author Comment

ID: 23696711
HI Stevemu,

Thanks for your suggestion, although having separate columns for each content type that would contain identical values would confuse the users, especially when they need to see all document types together in one view and filter from there.

If a coded solution would be the only way to achieve this, that would be fine.

Accepted Solution

kbessent1966 earned 0 total points
ID: 23954116
I managed to solve this problem by using the following steps:-

1. Make the column that is to be used by all content types a 'site column' within SharePoint
2. When publishing the form within InfoPath, select the column from 'site column group' and 'Column name:' then enable 'Allow users to edit data in this field by using a datasheet or properties page'

This will allow the form to populate meta-data in a column that is used by many content types within one document library.

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Is your OST file inaccessible, Need to transfer OST file from one computer to another? Want to convert OST file to PST? If the answer to any of the above question is yes, then look no further. With the help of Stellar OST to PST Converter, you can e…
Suggested Courses
Course of the Month20 days, 21 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question