AnsweredAssumed Answered

How can I include a new jsavascript plugin in sugarCRM 7.x

Question asked by Shijin Krishna on May 28, 2015
Latest reply on Jun 1, 2015 by Rolustech Rolustech
Hi All,

I would like to include a new javascript plugin for Calendar and I need to make use of it in my controller js file of a custom view.Just to check whether js grouping will help, I placed the entire plugin code in cache/include/javascript/sugar_sidecar.min.js file manually and tried to use the plugin method in the js controller. But it was showing undefined for the method.

Am just wondering how sugar has included plugins like select2,bootstrap-collapse etc and making use of it in different views.So I hope the same approach can be used to include a new plugin also.

Please suggest if anybody has idea on this.

Thanks in advance!

Outcomes