Questions tagged [spfieldcollection]

4 questions
3
votes
4 answers

Problem with DisplayPattern in SharePoint 2010?

I am adding a new field to a list using the AddFieldAsXML method of SPFieldCollection. The method executes fine with no problem. And the column header shows up when I view the list; however the value never displays in the column. Here is what the…
user281254
  • 161
  • 1
  • 2
  • 6
1
vote
1 answer

Insert/Update multiple lookup values to an SPListItem

My SharePoint list has a column that allows multiple lookup values. My C# control (within a webpart) allows the user to make multiple selections from a list box. I split these values into an array - each array member being a selected value that…
elizabeth
  • 11
  • 1
  • 2
0
votes
1 answer

c# Insert/Update multiple lookup values to an SPListItem

sharepoint allows multiple items to be added for a lookup column type. Is there a good article that has the code snippet to update or add lookup values?
0
votes
2 answers

Problem adding field to a custom list type in SharePoint

I have defined a custom list template type for SharePoint. I install it using VSeWSS 1.3 and everything seems to behave correctly. I have added a custom action which will add additional columns (SPFields) to the list. However, every time that code…
Philipp Schmid
  • 5,778
  • 5
  • 44
  • 66