Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Niklas Hjelm 104 posts 125 karma points
    Feb 27, 2016 @ 10:03
    Niklas Hjelm
    0

    Load from multiple nodes

    Hi, I'm trying to do something like this

      dynamic node = new umbraco.MacroEngines.DynamicNode(1151, 1059);
    

    But this creates an overload problem. Is there any way to get data from multiple nodes?

    Thanks / Niklas

  • Marc Goodson 2128 posts 14220 karma points MVP 8x c-trib
    Feb 27, 2016 @ 10:15
    Marc Goodson
    2

    Hi Niklas

    Which version of Umbraco are you using ?

    in 6+ you can use the Umbraco helper methods:

    https://our.umbraco.org/documentation/reference/querying/umbracohelper/

    and

    Umbraco.Content()

    has an overload that takes a comma delimited string of ids, to pull back data from multiple items

Please Sign in or register to post replies

Write your reply to:

Draft