AnsweredAssumed Answered

Adding custom code to a package to be installed in other SugarCRM instances

Question asked by Brian Hearn on May 30, 2018
Latest reply on Jun 8, 2018 by Brian Hearn

Hey Everybody,

 

I have created a custom package and within that package I have a custom module that I created through module builder.  For that custom module, I added a custom button on the record list view that fires some javascript.  The javascript and php files are located in Sugar\custom\modules\(my custom module)\clients\base\views\recordlist\recordlist.js(record.php).  Could anyone point me in the right direction on how to include this custom code in the package so when other people would like to import my package (whether they are cloud or on prem instances) will not only get the custom module but also get the custom button?

 

Thanks!

 

Matt

Outcomes