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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
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...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.