Use Widget Class to custom column in subpanel

I want to custom the result of a columns in a subpanel.

This should be possible creating a widget class and add it to the custom/include/generic/SugarWidget.

If the class/file doesn’t exist it gives an error but if exists the code is never hitted…

Can anyone share more information on custom widget class? I don’t want to add buttons just custom the column result.

I think you can use a process_record logic hook.

Check here for ideas:



… or another example using a different technique

Thank you both for the suggestions.
I confess i would prefer to use widget class. It 's more clean…but it’s not working.

I going to try your suggestions.

Thank you

1 Like