Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I have been creating a dynamic node with
DynamicNode node = new umbraco.MacroEngines.DynamicNode(2471);
Is there a way I can do this using the alias so if the node id changes (when I use courier) it still works.
Thanks
Hello, i think you want to use
umbraco.NodeFactory.Node
There are some methods on there that will allow you to get the node by alais i believe :), Charlie
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Getting node by alias rather than id
Hi,
I have been creating a dynamic node with
DynamicNode node = new umbraco.MacroEngines.DynamicNode(2471);
Is there a way I can do this using the alias so if the node id changes (when I use courier) it still works.
Thanks
Hello, i think you want to use
umbraco.NodeFactory.Node
There are some methods on there that will allow you to get the node by alais i believe :), Charlie
is working on a reply...