Can I Change Field Type Programatically

Following the discovery I made in this thread - that the DynamicDropdown data type does not allow default values - I have need to change the datatype of three fields I’ve created. I was tempted to simply create new DropDown fields, but after thinking it through a bit I realized that there would be data loss where those fields were actually used in saving a record.

So I would like to know if it is possible to change the existing datatype of these fields in the underlying code. The three fields affected by my rookie mistake are:

  1. cab_type_c
  2. engine_make_c
  3. transmission_type_c

Any assistance is very welcome and highly encouraged, thanks.

Hello,

RE: Can I Change Field Type Programatically

I’m not understanding how creating a module isn’t what you’re attempting with the wrong object, but of course you can change the code how you feel. Simply, navigate to the page within the framework and make the changes you need.

Thank you,

— MMS