Solved

Converting SP 2010 Choice field to Managed Metadata field?

Posted on 2011-03-21
1
779 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

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…
SharePoint Designer 2010 has tools and commands to do everything that can be done with web parts in the browser, and then some – except uploading a web part straight into a page that is edited in SPD. So, can it be done? Scenario For a recent pr…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
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…

770 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