Disclaimer: technical and writing it down here so I can find it next time I need to do this.
Sometimes you need to get a custom controller in the CRM Web Client when you aren’t in the context of a class that has the get_custom_controller method available.
In such circumstances use the following static class and attribute to get to the class.
CL_CRM_IC_SERVICES=>CONTEXTAREA_CONTR->get_custom_controller( ‘nameOfContoller’ ).





