I came across an interesting question by a poster on the forums today:
I’m fairly new to Sugar so forgive me if this is too simple of a question, but I need to turn one of the “out-of-the-box” fields into a Multi-Select. It currently is a drop-down. Can someone give me a quick example of how I would do that?
As many of you know this is not possible thru Studio or Module Builder, since once a field type is defined it cannot be changed. If this is a custom field you could always just add a new field type and migrate your data over, but this isn’t possible for the any of the out of the box fields in the application. So how can we get around this limitation?
Fortunately, a poster from SugarCRM Silver Partner Captivea stepped in with an upgrade-safe way to change the field type to multienum. Simply add the following two lines into a php file in the custom/Extension/modules/MODULE_NAME/Ext/Vardefs/ directory and do a Quick Rebuild and Repair.
After doing this, the given dropdown field should now be a multiselect field.