Adding Custom JS and CSS to Contacts Create page

I'm a bit new to SugarCRM so I'm looking for some guidance in the right direction. I currently have a sandbox sugar cloud instance that I am attempting to load a custom module in.

I am attempting to add an "address autocomplete" feature to the Contacts record create view. To do this, I need to add some custom css and javascript to the create page that will call an autocomplete API based on user input into an address field.  

I attempted to extend the Record/Create controllers but the module I loaded into the module loader seems to have broken the contact create page. Any help on adding custom js and css to the module create page would be greatly appreciated.  

Parents
  • I believe that the best approach is to inject the css into custom/themes/custom.less and create a custom field type where you can place the appropriate js controller.

    This way your CreateView remains intact.

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • I believe that the best approach is to inject the css into custom/themes/custom.less and create a custom field type where you can place the appropriate js controller.

    This way your CreateView remains intact.

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children
No Data