Solved

Converting SP 2010 Choice field to Managed Metadata field?

Posted on 2011-03-21
1
760 Views
Last Modified: 2012-05-11
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
Comment
Question by:MisUszatek
1 Comment
 
LVL 14

Accepted Solution

by:
KoenVosters earned 250 total points
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
These days socially coordinated efforts have turned into a critical requirement for enterprises.
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

771 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now