[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 824
  • Last Modified:

Converting SP 2010 Choice field to Managed Metadata field?

Is it possible to convert an exiting Choice field to Managed Metadata field and transfer/map exiting values? Preferable without changing the Modified date. How?
0
MisUszatek
Asked:
MisUszatek
1 Solution
 
KoenVostersCommented:
Only by code. You will have to create the Managed Metadata Column, put the values of the choice field in the metadatamanagement service and then remove the choice field?

Method to get the choices: instantiate the column as an SPFieldMultiChoice and then get the Choices:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.spfieldmultichoice.choices.aspx
Code example on how to import into the MMS:
http://norpoint.wordpress.com/2010/11/08/programmatically-create-many-term-sets-from-one-csv-file/
Update without modifying the modified by date:
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.splistitem.systemupdate.aspx
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now