Adding a UI Macro to a Non-reference Field
As of the Winter 2011 release, this technique is no longer necessary for most standard form fields. If possible, you should use the ‘field_decorations’ attribute to point to the UI macro for the field. This post may still be useful for those on running instances on a release earlier than Winter 2011 or those needing to [...]