kentico_ivanat
-
1/17/2012 1:44:38 AM
RE:Registering Custom Macros
Hi,
actually, it should work this way. In the documentation is an example with:
CurrentUser.UserName - now if you type . , you should see MyMethod in auto-completion options. This method is visible only for string values. The second example shows the method only for DateTime values. So you can see what has to be changed. Is not it possible that you are using your method with boolean value? Then the definition of the method has to be different.
Best regards, Ivana Tomanickova
|