Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Is it possible to convert a free text field to a drop down list from the current data it has ?

Posted on 2007-11-21
1
Medium Priority
?
612 Views
Last Modified: 2012-05-05
I have a filed in the crm for contact source. since we upgraded from ACT! this field is a free text one so everyone can write what he/she wants. Now I need to convert this field into a dropdown without loosing it's data so that the drop down will contain the text from this field.

thanks
0
Comment
Question by:Biju708
[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 9

Accepted Solution

by:
Biffster007 earned 1500 total points
ID: 20330925
Hi,

There's no out of the box way of converting this to a drop down box as far as I'm aware.

What I would do, which is a bit long winded but will work, is:

1) Extract a list of all the distinct contact source text values for this field.  Store these in a table in a temporary database.
2) Extract a list if the contact GUID and it's associated contact source and store in another table in the temporary database.
3) Remove the Contact Source field from the contact form in CRM.
4) Delete the contact source field.
5) Create the contact source attribute again with the same name as a picklist.
6) Add the distinct values of the contact source extracted in step 1 as picklist values.
7) Add the values to each item in the picklist to the table created in step 1 so each name has an associated value.
8) Join the table created in step 1 with the values to the table created in step 2 on the contact source field.  This will give you a contact guid and contact source value combination.
9) Then you could do 1 of 2 things:
   a) Supported - You could write a DotNet assembly to update the contact source field of the contacts with the new picklist value.
   b) Unsupported - You could update the database directly.

As I said long winded but it will work.
Hope this helps.,

Che,
MH
0

Featured Post

Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

Question has a verified solution.

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

Automatically creating a Trello card using data from a Microsoft Dynamics CRM record turned out to be an easy project that yielded great results.  Here's how I did this for an internal team at General Code.
For cloud, the “train has left the station” and in the Microsoft ERP & CRM world, that means the next generation of enterprise software from Microsoft is here: Dynamics 365 is Microsoft’s new integrated business solution that unifies CRM and ERP fun…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…

670 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