I am using SAP UI5 1.52. My formatter file is a separate file and loaded in the controller. But logging this
in the formatter returns view instance rather than control instance.
I have referred this question before and tried using absolute path and changed the way object is returned in formatter. It throws an error saying function not found.