Get context object in HTMLSnippet with External File
Normally you maintain all model settings and even code in widgets in the modeler. So you may reconsider your opion about high or low maintainability, because external files have no Mendix context possibilities.
Chris de Gelder
I have asked support and they say this is not possible at the moment.