Results 1 to 3 of 3

Thread: How can I change a custom field type in Opportunities?

  1. #1
    criticalmath's Avatar
    criticalmath is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Earth, Milky Way
    Posts
    47

    Question How can I change a custom field type in Opportunities?

    Hi,

    We added a custom field drop down in Opportunities. Now we want to change it to a multi-select.

    The problem is I can't seem to find the field definition ANYWHERE except the cache folder, specifically in \cache\modules\Opportunities\Opportunityvardefs.ph p. And the same with Leadsvardefs.

    When I change the data type there, assuming I'm doing that right, it reverts back to a regular 'enum'.

    Can someone please offer a little assistance?

    Thanks!

  2. #2
    andopes's Avatar
    andopes is offline A Sugar Hero | Help Forum Moderator
    Join Date
    Jul 2006
    Location
    São Paulo - Brazil
    Posts
    8,335

    Default Re: How can I change a custom field type in Opportunities?

    Open the phpMyAdmin, connect to the sugar database, go to table fields_meta_data, update the record related to the custom field you want to convert from enum to multienum:
    change the field "type" from "enum" to "multienum".

    Go to Admin -> Repair -> Quick Repair and Rebuild.
    André Lopes
    DevToolKit / Project of the Month - June 2009
    Lampada Global Services- Open Source Solutions
    Avenida Ipiranga, 318
    Bloco B - CJ 1602
    São Paulo, SP 01046-010
    Brazil
    Office: +55 11 3237-3110
    Mobile: +55 11 7636-5859
    e-mail: andre@lampadaglobal.com

    Lampada Global delivers offshore software development and support services to customers around the world.
    Lampada is proud to be a SugarCRM Gold Partner, revolutionizing Customer Relationship Management.

    I DO NOT answer questions through PM and Email. If you need some help post your question into SugarForum.

  3. #3
    criticalmath's Avatar
    criticalmath is offline Sugar Community Member
    Join Date
    Nov 2008
    Location
    Earth, Milky Way
    Posts
    47

    Wink Re: How can I change a custom field type in Opportunities?

    Piece of cake!

    Like everyone else, I'm sure, if you're at the Sugar Conference in April I'd like to shake your hand.

    Thanks for all the great help on the forum.

    Cheers,
    Dean

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Howto Change Custom Field Data Type
    By andreasw in forum General Discussion
    Replies: 9
    Last Post: 2011-10-12, 04:07 PM
  2. change custom field type
    By cwill in forum Developer Help
    Replies: 2
    Last Post: 2008-12-29, 01:30 PM
  3. Replies: 2
    Last Post: 2008-12-08, 11:20 PM
  4. How to change the type of a field?
    By ywingate in forum Help
    Replies: 6
    Last Post: 2008-08-14, 01:55 PM
  5. Is it a bug? Change the type of a custom field
    By ToniFatec in forum Developer Help
    Replies: 0
    Last Post: 2008-05-06, 03:17 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •