I am trying to get a node by it's ID through a Razor script, but I keep getting this error:
error CS0118: 'umbraco.MacroEngines.BaseContext.Node' is a 'property' but is used like a 'type'
Here is my code:
@inherits umbraco.MacroEngines.DynamicNodeContext
@{
var node = new Node(Parameter.newsnode);
}
I feel like I'm missing something very basic here, just can't seem to figure it out.
Umbraco 4.11.1