Solved

Converting SP 2010 Choice field to Managed Metadata field?

Posted on 2011-03-21
1
799 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In case you ever have to remove a faulty web part from a page , add the following to the end of the page url ?contents=1
A recent project that involved parsing Tableau Desktop and Server log files to extract reusable user queries for use in other systems. I chose to use PowerShell to gather the data, and SharePoint to present it...
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

695 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