User-friendly method or macro library for data transformations?
Hi all,
I'm looking for a user-friendly way to make a method library available in DTL, and by user-friendly I mean via '..MyMethod()' or '$$$MyMacro()' rather than '##class(MyPackage.MyClassName).MyMethod()'.
Does anybody know of a way to add a second superclass or a set of macros to a DTL ... or some other trick?
Cheers,
Otto
Hey Otto.
If you extend your class with "Ens.Rule.FunctionSet", the ClassMethods contained within will be available as a function for the DTL:
Perfect! Many thanks, Julian.