Solved

Converting SP 2010 Choice field to Managed Metadata field?

Posted on 2011-03-21
1
786 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
ID: 35186725
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

For SharePoint sites, particularly public-facing ones, there are times when adding JavaScript, Meta Tags, CSS Styles or other content to the page <head> section is more practical than modifying master pages.  For instance, you could add the jQuery l…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

790 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