SugarCRM: Convert Field to HTML

It is not possible to do using Studio.

You need to create an extended vardefs and modify its field type:

Create the file custom/Extension/modules/<ModuleName>/Ext/Vardefs/<somescript>.php and add the code below into it:


$dictionary[‘<BeanName>’][‘fields’][‘<FieldName>’][‘type’]= ‘html’;


Replace the content between “<>” by the appropriate values.

Go to Admin -> Repair -> Quick Repair and Rebuild.



Source: https://community.sugarcrm.com/thread/30727-how-to-convert-a-textarea-field-type-to-html-field-type

Leave a Reply

Your email address will not be published. Required fields are marked *