AnsweredAssumed Answered

Moduleinstaller.install_custom_fields

Question asked by Rafael Pedrosa on May 30, 2017
Latest reply on May 31, 2017 by Altaf Ur Rehman

Hi,

 

I am new to SugarCRM and I'm trying to learn the basics of it by going through the documentation available.

 

The link at

 

http://support.sugarcrm.com/Documentation/Sugar_Developer/Sugar_Developer_Guide_7.9/Data_Framework/Vardefs/Manually_Crea… 

 

has the following code snippet on how to programatically create custom fields. Does anyone know where to run such code in Sugar?

 

    $moduleInstaller = new ModuleInstaller();    $moduleInstaller->install_custom_fields($fields);

 

Regards,

Rafael

Outcomes