You can't use razor syntax but you can get acess to a DynamicNode instance, which is equivalent to your "Model" from which you can access your page properties:
dynamic model = new umbraco.MacroEngines.DynamicNode(umbraco.NodeFactory.Node.GetCurrent());
using razor inside a user control macro?
can you use razor in a user control macro?
I wanted to get access to some properties etc
Cheers,
Tom
You can't use razor syntax but you can get acess to a DynamicNode instance, which is equivalent to your "Model" from which you can access your page properties:
Thanks Dan! just what I was looking for! :)
is working on a reply...