AnsweredAssumed Answered

How do you get the module name from a SugarField class?

Question asked by Alx on Oct 9, 2014
In SugarCRM PRO 6.5.16, I want my phone fields to display additional info (ie I need to display a custom link containing the module name and the current record id).
I have overriden the SugarFieldPhone class and the DetailView.tpl, so I am able to display a custom link next to the phone number.
The trouble is I don't know how to get the module name and the record id from this context.

Is this even possible? Can anyone point me in the right direction?

Thanks,
Alexandre

Outcomes