AnsweredAssumed Answered

Sugar7 non-db html field displays fine in list view but shows code in list view dashlet

Question asked by Francesca Shiekh on Mar 6, 2015
Latest reply on Mar 10, 2016 by Edouard DEBOVE
I have a non-db field

               
//color coding for list view includes html img reference
$dictionary['Case']['fields']['case_notice_c']= array(
        'name' => 'case_notice_c',
        'vname' => 'LBL_CASE_NOTICE_C',
        'type' => 'html',
        'source' => 'non-db',
);
             

that gets populated by a process_record logic hook and results in a combination of Case Status and color coded bullet image (colors depend on a variety of other fields). 

The resulting value is something like:

<img src="custom/themes/bullets/yellowdot.gif" title =" New Unknown Unknown 7 work hrs">New

This displays correctly in list view


but displays as html in Dashlet view.



Any thoughts on how to correct the dashlet view?

thanks,
FrancescaS

Outcomes