Sharepoint 2010 Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint 2010       RSS Feeds

Sharepoint 2010 Metadata column type not updateable on doc library

  Asked By: Jordan    Date: Nov 21    Category: Sharepoint 2010    Views: 1759

The new tagging metadata type in lists and doc libraries is read-only in
datasheet mode. I need to populate this field after importing data. I wrote
code that works for a list but the same code does not work for a document
library. I am able to update other field types just not the tagging column
type on a doc library. Tagging field is the same on the doc library and

On button click
Dim mysite as SPWeb = SPContext.Corrent.Web
Dim listItems As SPListItemCollection = mysite.list("MyList").Items

Dim item count as integer = listitems.count
dim i as integer

For i = 0 to itemcount - 1
Dim item as splistitem = listitems(i)
If item("Last Name") = "Jones" then
item("Tagging Field Name") = "17;#Business:Gold"
End If
Next i



No Answers Found. Be the First, To Post Answer.


Related Topics:



Related Post