AnsweredAssumed Answered

Custom Handlebar Helpers Not Working

Question asked by Shijin Krishna on Apr 23, 2015
Latest reply on Apr 24, 2015 by Alan Beam
Hi All,

I tried to add one custom handlebar helper as per the documnt given below
http://support.sugarcrm.com/02_Documentation/04_Sugar_Developer/Sugar_Developer_Guide_7.5/20_UI_Mode...

And I tried using my custom helper in the following file
/custom/modules/Accounts/clients/base/fields/phone/list.hbs
After doing repair and rebuild and repair JsGroupings am getting the following error in Accounts List view
"Field Render Failed
    Unable to render the phone_office field.Please contact technical support.  "

I tried adding the same custom helper function in include/javascript/sugar7/hb-helpers.js
where sugar has written already existing hanlebar helpers.In that case am able to use the new helper method in the custom list.hbs file for phone field.But as it is not upgrade safe way I can't depend on that!

Thanks in advance!

Outcomes