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 2157 posts 14434 karma points MVP 9x 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

  • 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.

Please Sign in or register to post replies