I'm new to umbraco, so if this is a noobish question, please excuse me. In an existing application I need to do some major changes. At this moment in a page an external model is combined with the umbraco model in a third agregated model. The view is build from this model.
I have to make some major changes to the external model and therefor I want to unittest some things. I'm now working with a test project, included all umbraco (4.7) dlls and copied the appSettings over from the webproject.
With this line I try to retrieve the model/node from umbraco but I get a nullreference exception.
Retrieve node from umbraco
Hi
I'm new to umbraco, so if this is a noobish question, please excuse me. In an existing application I need to do some major changes. At this moment in a page an external model is combined with the umbraco model in a third agregated model. The view is build from this model.
I have to make some major changes to the external model and therefor I want to unittest some things. I'm now working with a test project, included all umbraco (4.7) dlls and copied the appSettings over from the webproject.
With this line I try to retrieve the model/node from umbraco but I get a nullreference exception.
Dynamic node = new DynamicNode(1720);
Is this possible and how should I do it?
Patrick
Add this reference
@using umbraco.MacroEngines
is working on a reply...