AnsweredAssumed Answered

How to include External JS on the record view?

Question asked by Pruebasopal on Feb 1, 2016
Latest reply on Feb 1, 2016 by Matt Marum

In Sugar 6.5 CE, the external js in the editview was included like this:

$viewdefs['Opportunities']['EditView']['templateMeta']['includes'] =
       array (
            array (
                 'file' => 'path/to/file/filename.js',
            ),
       );

 

But the estructure in Sugar 7.x has changed.

Outcomes